diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-12-01 10:53:20 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-02-20 23:04:25 +0800 |
commit | 23f5773903d64a554d977ae7d0ebbaca73528f1f (patch) | |
tree | 104e1a59da8bf96b004bce204b79f47bbe0a6d13 /plugins/google-account-setup | |
parent | 49bc4c2d765ee1780c23fdc9f42152850dabb220 (diff) | |
download | gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.gz gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.bz2 gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.lz gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.xz gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.zst gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'plugins/google-account-setup')
-rw-r--r-- | plugins/google-account-setup/google-contacts-source.c | 18 | ||||
-rw-r--r-- | plugins/google-account-setup/google-source.c | 12 |
2 files changed, 21 insertions, 9 deletions
diff --git a/plugins/google-account-setup/google-contacts-source.c b/plugins/google-account-setup/google-contacts-source.c index c9127d6861..5653881899 100644 --- a/plugins/google-account-setup/google-contacts-source.c +++ b/plugins/google-account-setup/google-contacts-source.c @@ -382,17 +382,23 @@ plugin_google_contacts (EPlugin *epl, gtk_box_pack_start (GTK_BOX (hbox), interval_sb, FALSE, FALSE, 0); interval_combo = gtk_combo_box_text_new (); - gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (interval_combo), _("minutes")); - gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (interval_combo), _("hours")); - gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (interval_combo), _("days")); - gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (interval_combo), _("weeks")); + gtk_combo_box_text_append_text ( + GTK_COMBO_BOX_TEXT (interval_combo), _("minutes")); + gtk_combo_box_text_append_text ( + GTK_COMBO_BOX_TEXT (interval_combo), _("hours")); + gtk_combo_box_text_append_text ( + GTK_COMBO_BOX_TEXT (interval_combo), _("days")); + gtk_combo_box_text_append_text ( + GTK_COMBO_BOX_TEXT (interval_combo), _("weeks")); gtk_combo_box_set_active (GTK_COMBO_BOX (interval_combo), type); gtk_box_pack_start (GTK_BOX (hbox), interval_combo, FALSE, FALSE, 0); gtk_widget_show_all (vbox2); - g_object_set_data (G_OBJECT (interval_sb), "interval-combo", interval_combo); - g_object_set_data (G_OBJECT (interval_combo), "interval-sb", interval_sb); + g_object_set_data ( + G_OBJECT (interval_sb), "interval-combo", interval_combo); + g_object_set_data ( + G_OBJECT (interval_combo), "interval-sb", interval_sb); ui = g_malloc0 (sizeof (struct ui_data)); ui->widget = vbox2; diff --git a/plugins/google-account-setup/google-source.c b/plugins/google-account-setup/google-source.c index 405d52155e..76dd8ae2c4 100644 --- a/plugins/google-account-setup/google-source.c +++ b/plugins/google-account-setup/google-source.c @@ -695,7 +695,9 @@ plugin_google (EPlugin *epl, e_source_get_property (source, "googlename") ? e_source_get_property (source, "googlename") : _("Default"), e_source_get_property (source, "googlename") ? e_source_peek_relative_uri (source) : NULL); - g_signal_connect (combo, "changed", G_CALLBACK (cal_combo_changed), source); + g_signal_connect ( + combo, "changed", + G_CALLBACK (cal_combo_changed), source); g_object_set_data (G_OBJECT (user), "CalendarCombo", combo); @@ -703,8 +705,12 @@ plugin_google (EPlugin *epl, gtk_box_pack_start (GTK_BOX (hbox), combo, TRUE, TRUE, 0); label = gtk_button_new_with_mnemonic (_("Retrieve _List")); - g_signal_connect (label, "clicked", G_CALLBACK (retrieve_list_clicked), combo); - g_signal_connect (user, "changed", G_CALLBACK (retrieve_list_sensitize), label); + g_signal_connect ( + label, "clicked", + G_CALLBACK (retrieve_list_clicked), combo); + g_signal_connect ( + user, "changed", + G_CALLBACK (retrieve_list_sensitize), label); g_object_set_data (G_OBJECT (label), "ESource", source); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); gtk_widget_set_sensitive (label, username && *username); |