[Xfce4-commits] <ristretto:master> Fix toolbar-visibility when unmerging toolbars
Stephan Arts
noreply at xfce.org
Thu Oct 13 23:14:01 CEST 2011
Updating branch refs/heads/master
to ee0a9328d3af8b65b5c5f889220e7f35c4fc1447 (commit)
from aa1199ca63f55ba90db52f7dc3e66ab34921f9b4 (commit)
commit ee0a9328d3af8b65b5c5f889220e7f35c4fc1447
Author: Stephan Arts <stephan at xfce.org>
Date: Thu Oct 13 23:14:19 2011 +0200
Fix toolbar-visibility when unmerging toolbars
src/main_window.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main_window.c b/src/main_window.c
index 0936b7f..b4b9d4f 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -1183,13 +1183,13 @@ rstto_main_window_update_buttons (RsttoMainWindow *window)
/* Do not make the widget visible when in
* fullscreen mode.
*/
- if ( 0 == gdk_window_get_state (GTK_WIDGET
-(window)->window) & GDK_WINDOW_STATE_FULLSCREEN )
+ if ( 0 == (gdk_window_get_state (GTK_WIDGET
+(window)->window) & GDK_WINDOW_STATE_FULLSCREEN ))
{
- gtk_widget_show (
- gtk_ui_manager_get_widget (
- window->priv->ui_manager,
- "/file-toolbar"));
+ gtk_widget_show (
+ gtk_ui_manager_get_widget (
+ window->priv->ui_manager,
+ "/file-toolbar"));
}
}
}
More information about the Xfce4-commits
mailing list