[evolution-kolab/ek-wip-acl] EPlugin: whitespace cleanup
- From: Christian Hilberg <chilberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-kolab/ek-wip-acl] EPlugin: whitespace cleanup
- Date: Fri, 28 Sep 2012 13:40:19 +0000 (UTC)
commit d645b9cba3013e854956d0c15cff6a6b8ea7887c
Author: Christian Hilberg <hilberg kernelconcepts de>
Date: Thu Sep 27 17:09:23 2012 +0200
EPlugin: whitespace cleanup
src/eplugin/e-kolab-folder-metadata.c | 9 +++++----
src/eplugin/e-kolab-plugin-ui.c | 6 +++---
2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/src/eplugin/e-kolab-folder-metadata.c b/src/eplugin/e-kolab-folder-metadata.c
index 65def8d..a634466 100644
--- a/src/eplugin/e-kolab-folder-metadata.c
+++ b/src/eplugin/e-kolab-folder-metadata.c
@@ -229,7 +229,7 @@ e_kolab_folder_metadata_ui_new (void)
gtk_container_add (GTK_CONTAINER (uidata->widgets->chk_btn_show_all), widget);
/* "show all folders" switch */
-
+
uidata->widgets->chk_btn_show_all_handler_id =
g_signal_connect (G_OBJECT (uidata->widgets->chk_btn_show_all),
"toggled",
@@ -334,7 +334,7 @@ e_kolab_folder_metadata_ui_update_from_uidata (KolabFolderMetaUIData *uidata)
case KOLAB_FOLDER_TYPE_NOTE_DEFAULT:
ii = 3;
break;
-
+
case KOLAB_FOLDER_TYPE_CONTACT:
case KOLAB_FOLDER_TYPE_CONTACT_DEFAULT:
ii = 4;
@@ -347,11 +347,11 @@ e_kolab_folder_metadata_ui_update_from_uidata (KolabFolderMetaUIData *uidata)
widget = uidata->widgets->radio_btn_type[ii];
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (widget), TRUE);
-
+
for (ii = 0; ii < KOLAB_FOLDER_META_UI_NUM_TYPES; ii++) {
g_signal_handler_unblock (uidata->widgets->radio_btn_type[ii],
uidata->widgets->radio_btn_handler_id[ii]);
- }
+ }
}
gboolean
@@ -390,6 +390,7 @@ e_kolab_folder_metadata_ui_query_store (KolabFolderMetaUIData *uidata,
goto exit;
}
+ /* FIXME we have the foldername duped in uidata->foldername */
uidata->metadata->foldername = selected_path;
uidata->metadata->show_all =
camel_kolab_imapx_store_get_show_all_folders (kstore);
diff --git a/src/eplugin/e-kolab-plugin-ui.c b/src/eplugin/e-kolab-plugin-ui.c
index d153bdc..913f44d 100644
--- a/src/eplugin/e-kolab-plugin-ui.c
+++ b/src/eplugin/e-kolab-plugin-ui.c
@@ -239,7 +239,7 @@ kolab_folder_prop_ui_response_cb (GObject *dialog,
GtkWidget *ok_btn = NULL;
GError *tmp_err = NULL;
gboolean ok = FALSE;
-
+
g_return_if_fail (dialog != NULL);
g_return_if_fail (userdata != NULL);
@@ -255,7 +255,7 @@ kolab_folder_prop_ui_response_cb (GObject *dialog,
* succeed, the following actions may be affected by the
* newly set permissions
*/
-
+
ok = e_kolab_folder_permissions_ui_write_store (uidata->perm_ui_data,
NULL, /* FIXME add cancellation stack */
&tmp_err);
@@ -290,7 +290,7 @@ kolab_folder_prop_ui_response_cb (GObject *dialog,
}
kolab_folder_prop_ui_clear_all_entries (dialog);
- gtk_widget_destroy (GTK_WIDGET (dialog));
+ gtk_widget_destroy (GTK_WIDGET (dialog));
}
static KolabFolderPropUIData*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]