[Xfce4-commits] <xfce4-panel:master> Do not make the itembar insensitive (bug #6818).

Nick Schermer noreply at xfce.org
Tue Dec 14 21:54:03 CET 2010


Updating branch refs/heads/master
         to 8504102c3637e4a2127f3c72b52c3138405740cc (commit)
       from c23eba4c6da055be2f52582ebe28d427dcaa66fe (commit)

commit 8504102c3637e4a2127f3c72b52c3138405740cc
Author: Nick Schermer <nick at xfce.org>
Date:   Tue Dec 14 21:50:40 2010 +0100

    Do not make the itembar insensitive (bug #6818).
    
    I'm not really satisfied with the result, because an insensitive
    panel would be a lot nices, but it makes moving/adding plugins
    work again.

 panel/panel-application.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/panel/panel-application.c b/panel/panel-application.c
index c9e7ac1..b88c542 100644
--- a/panel/panel-application.c
+++ b/panel/panel-application.c
@@ -1360,18 +1360,13 @@ void
 panel_application_windows_sensitive (PanelApplication *application,
                                      gboolean          sensitive)
 {
-  GtkWidget *itembar;
-  GSList    *li;
+  GSList *li;
 
   panel_return_if_fail (PANEL_IS_APPLICATION (application));
 
   /* walk the windows */
   for (li = application->windows; li != NULL; li = li->next)
     {
-      /* set sensitivity of the itembar (and the plugins) */
-      itembar = gtk_bin_get_child (GTK_BIN (li->data));
-      gtk_widget_set_sensitive (itembar, sensitive);
-
       /* block autohide for all windows */
       if (sensitive)
         panel_window_thaw_autohide (PANEL_WINDOW (li->data));



More information about the Xfce4-commits mailing list