diff options
Diffstat (limited to 'plugins/attachment-reminder')
-rw-r--r-- | plugins/attachment-reminder/ChangeLog | 6 | ||||
-rw-r--r-- | plugins/attachment-reminder/attachment-reminder.c | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/plugins/attachment-reminder/ChangeLog b/plugins/attachment-reminder/ChangeLog index 9ba93d3fbc..3d54bebb90 100644 --- a/plugins/attachment-reminder/ChangeLog +++ b/plugins/attachment-reminder/ChangeLog @@ -1,3 +1,9 @@ +2007-10-26 Kjartan Maraas <kmaraas@gnome.org> + + * attachment-reminder.c: (check_for_attachment_clues), + (clue_check_isempty): Don't mix code and declarations. Also + remove a c++ comment. + 2007-09-06 B S Srinidhi <srinidhi.bs@gmail.com> ** Fix for bug #468366 diff --git a/plugins/attachment-reminder/attachment-reminder.c b/plugins/attachment-reminder/attachment-reminder.c index 59e3bb3a08..8cec986cd5 100644 --- a/plugins/attachment-reminder/attachment-reminder.c +++ b/plugins/attachment-reminder/attachment-reminder.c @@ -126,18 +126,19 @@ static gboolean ask_for_missing_attachment (GtkWindow *window) /* check for the clues */ static gboolean check_for_attachment_clues (gchar *msg) { - //TODO : Add more strings. RegEx ??? + /* TODO : Add more strings. RegEx ??? */ GConfClient *gconf; GSList *clue_list = NULL, *list; gboolean ret_val = FALSE; + guint msg_length; gconf = gconf_client_get_default (); - //Get the list from gconf + /* Get the list from gconf */ clue_list = gconf_client_get_list ( gconf, GCONF_KEY_ATTACH_REMINDER_CLUES, GCONF_VALUE_STRING, NULL ); - guint msg_length = strlen (msg); + msg_length = strlen (msg); for (list = clue_list;list && !ret_val;list=g_slist_next(list)) { gchar *needle = g_utf8_strdown (list->data, -1); @@ -301,7 +302,7 @@ clue_add_clicked (GtkButton *button, UIData *ui) /* Disconnect from signal so that we can create an empty row */ g_signal_handlers_disconnect_matched(G_OBJECT(model), G_SIGNAL_MATCH_FUNC, 0, 0, NULL, clue_check_isempty, ui); - //TODO : Trim and check for blank strings + /* TODO : Trim and check for blank strings */ new_clue = g_strdup (""); gtk_list_store_append (GTK_LIST_STORE (model), &iter); gtk_list_store_set (GTK_LIST_STORE (model), &iter, |