[Xfce4-commits] <xfce4-mailwatch-plugin:master> Refactor the code
Ján SuÄan
noreply at xfce.org
Fri Sep 27 19:30:01 CEST 2013
Updating branch refs/heads/master
to 6ba6bd26e43a9c75c595e45336f31c6e2b997ba3 (commit)
from eb4ee4db22118c3bcbc0c9fc50e5228d172ef7cf (commit)
commit 6ba6bd26e43a9c75c595e45336f31c6e2b997ba3
Author: Ján Sučan <sucan at runbox.com>
Date: Fri Sep 27 19:30:12 2013 +0200
Refactor the code
panel-plugin/mailwatch-plugin.c | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/panel-plugin/mailwatch-plugin.c b/panel-plugin/mailwatch-plugin.c
index ccec128..d578025 100644
--- a/panel-plugin/mailwatch-plugin.c
+++ b/panel-plugin/mailwatch-plugin.c
@@ -48,28 +48,27 @@
typedef struct
{
XfcePanelPlugin *plugin;
- XfceMailwatch *mailwatch;
+ XfceMailwatch *mailwatch;
GtkWidget *button;
GtkWidget *image;
gboolean newmail_icon_visible;
- guint new_messages;
- GdkPixbuf *pix_normal;
- GdkPixbuf *pix_newmail;
+ guint new_messages;
gchar *click_command;
gchar *new_messages_command;
-
- gchar *normal_icon;
- gchar *new_mail_icon;
-
- guint log_lines;
- gboolean show_log_status;
- GdkPixbuf *pix_log[XFCE_MAILWATCH_N_LOG_LEVELS];
- XfceMailwatchLogLevel log_status;
- GtkListStore *loglist;
+ GdkPixbuf *pix_normal;
+ GdkPixbuf *pix_newmail;
+ gchar *normal_icon;
+ gchar *new_mail_icon;
+
+ guint log_lines;
+ gboolean show_log_status;
+ GdkPixbuf *pix_log[XFCE_MAILWATCH_N_LOG_LEVELS];
+ XfceMailwatchLogLevel log_status;
+ GtkListStore *loglist;
} XfceMailwatchPlugin;
enum {
More information about the Xfce4-commits
mailing list