Show
Ignore:
Timestamp:
05/16/06 10:51:48 (3 years ago)
Author:
dkirov
Message:

added eggtrayicon from mail-notification.
This should make tray icon transparent for non-
gnome desktops.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/eggtrayicon.h

    r1063 r6333  
    2323 
    2424#include <gtk/gtkplug.h> 
     25#ifdef GDK_WINDOWING_X11 
    2526#include <gdk/gdkx.h> 
     27#endif 
    2628 
    2729G_BEGIN_DECLS 
     
    3335#define EGG_IS_TRAY_ICON_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EGG_TYPE_TRAY_ICON)) 
    3436#define EGG_TRAY_ICON_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EGG_TYPE_TRAY_ICON, EggTrayIconClass)) 
    35          
     37 
    3638typedef struct _EggTrayIcon       EggTrayIcon; 
    3739typedef struct _EggTrayIconClass  EggTrayIconClass; 
     
    4244 
    4345  guint stamp; 
    44    
     46 
     47#ifdef GDK_WINDOWING_X11 
    4548  Atom selection_atom; 
    4649  Atom manager_atom; 
     
    4851  Atom orientation_atom; 
    4952  Window manager_window; 
    50  
     53#endif 
    5154  GtkOrientation orientation; 
    5255}; 
     
    7275 
    7376GtkOrientation egg_tray_icon_get_orientation (EggTrayIcon *icon); 
    74                                              
     77 
    7578G_END_DECLS 
    7679