[evolution-kolab/ek-wip-gui: 21/22] EPlugin: renamed local variable
- From: Christian Hilberg <chilberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-kolab/ek-wip-gui: 21/22] EPlugin: renamed local variable
- Date: Mon, 20 Feb 2012 23:26:32 +0000 (UTC)
commit b4f5c1f48517ce193308bf2d6f785ddc03fe2d92
Author: Christian Hilberg <hilberg kernelconcepts de>
Date: Mon Feb 20 21:51:10 2012 +0100
EPlugin: renamed local variable
src/eplugin/e-kolab-folder-metadata.c | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
---
diff --git a/src/eplugin/e-kolab-folder-metadata.c b/src/eplugin/e-kolab-folder-metadata.c
index 019dc59..edbac9e 100644
--- a/src/eplugin/e-kolab-folder-metadata.c
+++ b/src/eplugin/e-kolab-folder-metadata.c
@@ -51,36 +51,41 @@ e_kolab_folder_metadata_ui_new (void)
{
KolabFolderMetaUIData *uidata = g_new0 (KolabFolderMetaUIData, 1);
GtkWidget *widget = NULL;
- GtkWidget *hvbox = NULL;
+ GtkWidget *grid = NULL;
uidata->widgets = g_new0 (KolabFolderMetaUIWidgets, 1);
uidata->widgets->container = gtk_frame_new (_("Folder Type"));
+ gtk_container_set_border_width (GTK_CONTAINER (uidata->widgets->container), 6);
- hvbox = gtk_grid_new ();
- gtk_orientable_set_orientation (GTK_ORIENTABLE (hvbox), GTK_ORIENTATION_VERTICAL);
- gtk_grid_set_column_spacing (GTK_GRID (hvbox), 2);
- gtk_container_add (GTK_CONTAINER (uidata->widgets->container), hvbox);
+ grid = gtk_grid_new ();
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (grid), GTK_ORIENTATION_VERTICAL);
+ gtk_grid_set_column_spacing (GTK_GRID (grid), 2);
+ gtk_container_set_border_width (GTK_CONTAINER (grid), 16);
+ gtk_container_add (GTK_CONTAINER (uidata->widgets->container), grid);
widget = gtk_radio_button_new_with_label (NULL, C_("Folder Type", "Mail"));
uidata->widgets->radio_btn_type_mail = widget;
uidata->widgets->radio_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (widget));
- gtk_container_add (GTK_CONTAINER (hvbox), widget);
+ gtk_container_add (GTK_CONTAINER (grid), widget);
widget = gtk_radio_button_new_with_label (uidata->widgets->radio_group, C_("Folder Type", "Calendar"));
uidata->widgets->radio_btn_type_calendar = widget;
- gtk_container_add (GTK_CONTAINER (hvbox), widget);
+ gtk_container_add (GTK_CONTAINER (grid), widget);
widget = gtk_radio_button_new_with_label (uidata->widgets->radio_group, C_("Folder Type", "Memos"));
uidata->widgets->radio_btn_type_memos = widget;
- gtk_container_add (GTK_CONTAINER (hvbox), widget);
+ gtk_container_add (GTK_CONTAINER (grid), widget);
widget = gtk_radio_button_new_with_label (uidata->widgets->radio_group, C_("Folder Type", "Tasks"));
uidata->widgets->radio_btn_type_tasks = widget;
- gtk_container_add (GTK_CONTAINER (hvbox), widget);
+ gtk_container_add (GTK_CONTAINER (grid), widget);
widget = gtk_radio_button_new_with_label (uidata->widgets->radio_group, C_("Folder Type", "Contacts"));
uidata->widgets->radio_btn_type_contacts = widget;
- gtk_container_add (GTK_CONTAINER (hvbox), widget);
+ gtk_container_add (GTK_CONTAINER (grid), widget);
+
+ /* FIXME connect signals */
+ g_warning ("%s: FIXME connect signals", __func__);
return uidata;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]