[evolution-patches] Calendar patch for bug 56880
- From: Gary Ekker <gekker novell com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] Calendar patch for bug 56880
- Date: Wed, 14 Apr 2004 17:24:02 -0600
See ChangeLog diff in attached.
Cheers.
-Gary
? 56880
Index: misc/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/ChangeLog,v
retrieving revision 1.290
diff -u -r1.290 ChangeLog
--- misc/ChangeLog 8 Apr 2004 08:12:28 -0000 1.290
+++ misc/ChangeLog 14 Apr 2004 23:07:12 -0000
@@ -1,3 +1,9 @@
+2004-04-14 Gary Ekker <gekker novell com>
+
+ Fixes bugs 56880 and 56870
+ * e-source-option-menu.c: (populate): Desensitize sources in the menu
+ if they are read-only.
+
2004-04-08 Not Zed <NotZed Ximian com>
* e-info-label.c (e_info_label_set_info): ugh, fix some last
Index: misc/e-source-option-menu.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-source-option-menu.c,v
retrieving revision 1.3
diff -u -r1.3 e-source-option-menu.c
--- misc/e-source-option-menu.c 17 Dec 2003 00:50:03 -0000 1.3
+++ misc/e-source-option-menu.c 14 Apr 2004 23:07:12 -0000
@@ -150,7 +150,10 @@
(GtkDestroyNotify) g_object_unref);
g_object_ref (source);
- g_signal_connect (item, "activate", G_CALLBACK (menu_item_activate_callback), option_menu);
+ if (e_source_get_readonly (source))
+ gtk_widget_set_sensitive (item, FALSE);
+ else
+ g_signal_connect (item, "activate", G_CALLBACK (menu_item_activate_callback), option_menu);
gtk_widget_show (item);
gtk_menu_append (GTK_MENU (menu), item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]