[Xfce4-commits] <xfce4-diskperf-plugin:master> Don't disable the input title entry in config dialog when label is not shown

Landry Breuil noreply at xfce.org
Sat Jan 23 12:22:05 CET 2010


Updating branch refs/heads/master
         to 27cfb3cdcea2ea0b6bcaf42fa16332abee207ace (commit)
       from 50b6646f085b5ca14533f5c8428af90ee75c7826 (commit)

commit 27cfb3cdcea2ea0b6bcaf42fa16332abee207ace
Author: Landry Breuil <landry at rhaalovely.net>
Date:   Sat Jan 23 12:18:33 2010 +0100

    Don't disable the input title entry in config dialog when label is not shown
    
    Regardless of label being shown or not in the panel,
    the title appears in plugin tooltip, so it should still
    be configurable.
    From bug #6176

 panel-plugin/main.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 1e3c07f..fe6d508 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -654,8 +654,6 @@ static void ToggleTitle (Widget_t p_w, void *p_pvPlugin)
 
     poConf->fTitleDisplayed =
 	gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (p_w));
-    gtk_widget_set_sensitive (GTK_WIDGET (poGUI->wTF_Title),
-			      poConf->fTitleDisplayed);
     if (poConf->fTitleDisplayed)
 	gtk_widget_show (GTK_WIDGET (poMonitor->wTitle));
     else
@@ -947,8 +945,6 @@ static void diskperf_create_options (XfcePanelPlugin *plugin,
 
     gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (poGUI->wTB_Title),
 				  poConf->fTitleDisplayed);
-    gtk_widget_set_sensitive (GTK_WIDGET (poGUI->wTF_Title),
-			      poConf->fTitleDisplayed);
     g_signal_connect (GTK_WIDGET (poGUI->wTB_Title), "toggled",
 		      G_CALLBACK (ToggleTitle), poPlugin);
 



More information about the Xfce4-commits mailing list