diff options
| author | Jiri Moskovcak <jmoskovc@localhost.localdomain> | 2009-11-16 19:31:03 +0100 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@localhost.localdomain> | 2009-11-16 19:31:03 +0100 |
| commit | 80a2d45c6ce729fc778d2ecc00569635cf886e7b (patch) | |
| tree | cee252ca5ec9b7edf3c89bd96e6875d26a0d8a52 /src/Applet/CCApplet.h | |
| parent | f8c20e22c8919dc1651af5c51cb5a6cf2a26481c (diff) | |
| download | abrt-80a2d45c6ce729fc778d2ecc00569635cf886e7b.tar.gz abrt-80a2d45c6ce729fc778d2ecc00569635cf886e7b.tar.xz abrt-80a2d45c6ce729fc778d2ecc00569635cf886e7b.zip | |
APPLET: fixes based on review from Denys
- fixed coding style
- some optimalization
- added fallback if loading icons fails
Diffstat (limited to 'src/Applet/CCApplet.h')
| -rw-r--r-- | src/Applet/CCApplet.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Applet/CCApplet.h b/src/Applet/CCApplet.h index e13c1d9..538eda5 100644 --- a/src/Applet/CCApplet.h +++ b/src/Applet/CCApplet.h @@ -39,9 +39,9 @@ class CApplet NotifyNotification *m_pNotification; // std::map<int, std::string> m_mapEvents; bool m_bDaemonRunning; - GtkStatusIcon *tray_icon; - int animation_stage; - guint animator; + int m_iAnimationStage; + guint m_iAnimator; + bool m_bIconsLoaded; enum ICON_STAGES { @@ -86,7 +86,7 @@ class CApplet static gboolean update_icon(void *data); void animate_icon(); void stop_animate_icon(); - void load_icons(); + bool load_icons(); }; #endif |
