[Goodies-commits] r3482 - xfce4-places-plugin/trunk/panel-plugin
Diego Ongaro
ongardie at xfce.org
Wed Oct 31 23:56:18 CET 2007
Author: ongardie
Date: 2007-10-31 22:56:18 +0000 (Wed, 31 Oct 2007)
New Revision: 3482
Modified:
xfce4-places-plugin/trunk/panel-plugin/cfg.c
Log:
2007-10-31 Diego Ongaro <ongardie at gmail.com>
* cfg.c: Bug #3637: Make options for recent documents transient
[I had previously forgotten to possibly set insensitive at init]
Modified: xfce4-places-plugin/trunk/panel-plugin/cfg.c
===================================================================
--- xfce4-places-plugin/trunk/panel-plugin/cfg.c 2007-10-31 17:32:29 UTC (rev 3481)
+++ xfce4-places-plugin/trunk/panel-plugin/cfg.c 2007-10-31 22:56:18 UTC (rev 3482)
@@ -434,6 +434,7 @@
tmp_box = gtk_hbox_new(FALSE, 15);
/* Gray out this box when "Show removable media" is off */
+ gtk_widget_set_sensitive(tmp_box, cfg->show_volumes);
g_object_set_data(G_OBJECT(tmp_widget), "cfg_transient", tmp_box);
tmp_widget = gtk_label_new(" "); /* TODO: is there a more appropriate widget? */
@@ -482,6 +483,7 @@
gtk_widget_show(vbox_recent);
/* Gray out this box when "Show recent documents" is off */
+ gtk_widget_set_sensitive(vbox_recent, cfg->show_recent);
g_object_set_data(G_OBJECT(tmp_widget), "cfg_transient", vbox_recent);
frame_recent = xfce_create_framebox_with_content(_("Recent Documents"), vbox_recent);
More information about the Goodies-commits
mailing list