[Xfce4-commits] <midori:master> Don't hide panel if individual panel was already active
Christian Dywan
noreply at xfce.org
Thu Jul 8 22:32:01 CEST 2010
Updating branch refs/heads/master
to cfd00f7fe4bbb9804e7c33c23b453642b37369f1 (commit)
from 922a94fc98c9ac7dd2ba3ed39323a8a3e68879a2 (commit)
commit cfd00f7fe4bbb9804e7c33c23b453642b37369f1
Author: Christian Dywan <christian at twotoasts.de>
Date: Thu Jul 8 22:28:02 2010 +0200
Don't hide panel if individual panel was already active
What might look like a little convenience for keyboard usage
is very awkward when using buttons or menu items.
midori/midori-panel.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/midori/midori-panel.c b/midori/midori-panel.c
index 97b4351..33618ae 100644
--- a/midori/midori-panel.c
+++ b/midori/midori-panel.c
@@ -712,11 +712,6 @@ midori_panel_action_activate_cb (GtkRadioAction* action,
&& gtk_radio_action_get_current_value (action)
== katze_object_get_int (action, "value"))
midori_panel_detach_page (panel, n);
- else if (gtk_radio_action_get_current_value (action)
- == katze_object_get_int (action, "value")
- && gtk_widget_get_visible (GTK_WIDGET (panel))
- && midori_panel_get_current_page (panel) == n)
- gtk_widget_hide (GTK_WIDGET (panel));
else
{
midori_panel_set_current_page (panel, n);
More information about the Xfce4-commits
mailing list