aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/status-track.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-02 07:09:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-02 07:09:19 +0800
commit8771a6de3590d468d1a2c3cfab34955c624f614a (patch)
treedc23ed6ab0533bc9f241976f33b6c6cc2d7ee117 /plugins/groupwise-features/status-track.c
parent69a1e923a71ee881721e21b991de08b897f9e7b0 (diff)
downloadgsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar
gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.gz
gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.bz2
gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.lz
gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.xz
gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.zst
gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.zip
More code cleanup.
Diffstat (limited to 'plugins/groupwise-features/status-track.c')
-rw-r--r--plugins/groupwise-features/status-track.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/plugins/groupwise-features/status-track.c b/plugins/groupwise-features/status-track.c
index 2569cbebd7..d9173e09e2 100644
--- a/plugins/groupwise-features/status-track.c
+++ b/plugins/groupwise-features/status-track.c
@@ -64,18 +64,18 @@ static void
track_status (EPopup *ep, EPopupItem *item, gpointer data)
{
EMPopupTargetSelect *t = (EMPopupTargetSelect *)data;
- CamelMimeMessage *msg = NULL ;
- const CamelInternetAddress *from ;
- const gchar *namep, *addp ;
+ CamelMimeMessage *msg = NULL;
+ const CamelInternetAddress *from;
+ const gchar *namep, *addp;
- GtkDialog *d ;
- GtkTable *table ;
+ GtkDialog *d;
+ GtkTable *table;
GtkWidget *widget;
GtkScrolledWindow *win;
GtkVBox *vbox;
- time_t time ;
- gchar *time_str ;
+ time_t time;
+ gchar *time_str;
gchar *boldmsg;
@@ -87,8 +87,8 @@ track_status (EPopup *ep, EPopupItem *item, gpointer data)
/*Get message*/
msg = camel_folder_get_message (t->folder, g_ptr_array_index (t->uids, 0), NULL);
if (!msg) {
- g_print ("Error!! No message\n") ;
- return ;
+ g_print ("Error!! No message\n");
+ return;
}
/*Create the dialog*/
@@ -120,8 +120,8 @@ track_status (EPopup *ep, EPopupItem *item, gpointer data)
row++;
/*From*/
- from = camel_mime_message_get_from (msg) ;
- camel_internet_address_get (from, 0, &namep, &addp) ;
+ from = camel_mime_message_get_from (msg);
+ camel_internet_address_get (from, 0, &namep, &addp);
boldmsg = g_strdup_printf ("<b>%s</b>", _("From:"));
widget = gtk_label_new (boldmsg);
g_free (boldmsg);
@@ -134,8 +134,8 @@ track_status (EPopup *ep, EPopupItem *item, gpointer data)
row++;
/*creation date*/
- time = camel_mime_message_get_date (msg, NULL) ;
- time_str = ctime (&time) ;
+ time = camel_mime_message_get_date (msg, NULL);
+ time_str = ctime (&time);
time_str[strlen(time_str)-1] = '\0' ;
boldmsg = g_strdup_printf ("<b>%s</b>", _("Creation date:"));
widget = gtk_label_new (boldmsg);