From 797cd196066185c54ea0ba20c445498a208608b0 Mon Sep 17 00:00:00 2001 From: Vibha Yadav Date: Thu, 16 Sep 2010 09:51:38 +0530 Subject: Bug #611154 - problem in accessing folder property --- plugins/groupwise-features/Makefile.am | 1 + plugins/groupwise-features/notification.ui | 216 +++++++++++++++++++++++ plugins/groupwise-features/properties.ui | 49 +---- plugins/groupwise-features/share-folder-common.c | 2 +- plugins/groupwise-features/share-folder.c | 2 +- 5 files changed, 224 insertions(+), 46 deletions(-) create mode 100644 plugins/groupwise-features/notification.ui diff --git a/plugins/groupwise-features/Makefile.am b/plugins/groupwise-features/Makefile.am index f1047fce32..848f5bfc09 100644 --- a/plugins/groupwise-features/Makefile.am +++ b/plugins/groupwise-features/Makefile.am @@ -65,6 +65,7 @@ liborg_gnome_groupwise_features_la_LDFLAGS = -module -avoid-version $(NO_UNDEFIN ui_DATA = \ properties.ui \ + notification.ui \ junk-settings.ui \ proxy-add-dialog.ui \ proxy-listing.ui \ diff --git a/plugins/groupwise-features/notification.ui b/plugins/groupwise-features/notification.ui new file mode 100644 index 0000000000..a3fc64b568 --- /dev/null +++ b/plugins/groupwise-features/notification.ui @@ -0,0 +1,216 @@ + + + + + 12 + True + False + 12 + + + True + The participants will receive the following notification. + + False + False + GTK_JUSTIFY_CENTER + False + False + 0.66 + 0.5 + 0 + 0 + + + 1 + False + False + + + + + 309 + True + False + 12 + + + True + False + 5 + + + True + Subject + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + 158 + True + True + True + True + 0 + + True + False + + + 6 + False + False + + + + + True + Message + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + 0 + True + True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + True + True + True + False + True + GTK_JUSTIFY_LEFT + GTK_WRAP_NONE + True + 0 + 0 + 0 + 0 + 0 + 0 + + + + + 0 + True + True + + + + + 0 + True + True + + + + + 0 + True + True + + + + + True + False + 0 + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.52 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + True + GTK_BUTTONBOX_END + 6 + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + + + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + True + True + + + + + 0 + False + True + + + + diff --git a/plugins/groupwise-features/properties.ui b/plugins/groupwise-features/properties.ui index 941c9a5ae8..71cd3909ef 100644 --- a/plugins/groupwise-features/properties.ui +++ b/plugins/groupwise-features/properties.ui @@ -1,28 +1,6 @@ - - Folder Properties - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - - - True - True - True - True - GTK_POS_TOP - False - False - 12 True @@ -540,30 +518,13 @@ False - - + + + diff --git a/plugins/groupwise-features/share-folder-common.c b/plugins/groupwise-features/share-folder-common.c index 21485a96c2..1b6fb180ea 100644 --- a/plugins/groupwise-features/share-folder-common.c +++ b/plugins/groupwise-features/share-folder-common.c @@ -93,7 +93,7 @@ shared_folder_commit (EPlugin *ep, EConfigTarget *tget) { EMConfigTargetFolder *target = (EMConfigTargetFolder *)tget->config->target; CamelStore *parent_store; - EMFolderTreeModel *model = NULL; /*mail_component_peek_tree_model (mail_component_peek ())*/; + EMFolderTreeModel *model = em_folder_tree_model_new(); /*mail_component_peek_tree_model (mail_component_peek ());*/ parent_store = camel_folder_get_parent_store (target->folder); diff --git a/plugins/groupwise-features/share-folder.c b/plugins/groupwise-features/share-folder.c index d27a463f5b..d7c564cbfe 100644 --- a/plugins/groupwise-features/share-folder.c +++ b/plugins/groupwise-features/share-folder.c @@ -515,7 +515,7 @@ notification_clicked (GtkButton *button, ShareFolder *sf) gtk_window_set_type_hint (GTK_WINDOW (sf->window), GDK_WINDOW_TYPE_HINT_DIALOG); builder = gtk_builder_new (); - e_load_ui_builder_definition (builder, "properties.ui"); + e_load_ui_builder_definition (builder, "notification.ui"); vbox = GTK_WIDGET (e_builder_get_widget (builder, "vbox191")); gtk_container_add (GTK_CONTAINER (sf->window), vbox); -- cgit v1.2.3