[Xfce4-commits] <ristretto:master> Expand separator
Stephan Arts
noreply at xfce.org
Tue Oct 11 22:16:01 CEST 2011
Updating branch refs/heads/master
to 291e1a4b6b39aeb520cdd860348cd189d4ec4314 (commit)
from b52bc3789c3369d466f729588843da1496f78a3d (commit)
commit 291e1a4b6b39aeb520cdd860348cd189d4ec4314
Author: Stephan Arts <stephan at xfce.org>
Date: Tue Oct 11 22:15:56 2011 +0200
Expand separator
src/main_window.c | 4 ++++
src/main_window_ui.xml | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/main_window.c b/src/main_window.c
index d56c623..8cac812 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -543,6 +543,10 @@ rstto_main_window_init (RsttoMainWindow *window)
gtk_tool_item_set_expand (GTK_TOOL_ITEM (separator), TRUE);
gtk_separator_tool_item_set_draw (GTK_SEPARATOR_TOOL_ITEM (separator), FALSE);
+ separator = gtk_ui_manager_get_widget (window->priv->ui_manager, "/navigation-toolbar/separator-2");
+ gtk_tool_item_set_expand (GTK_TOOL_ITEM (separator), TRUE);
+ gtk_separator_tool_item_set_draw (GTK_SEPARATOR_TOOL_ITEM (separator), FALSE);
+
/**
* Make the back and forward toolitems important,
* when they are, the labels are shown when the toolbar style is 'both-horizontal'
diff --git a/src/main_window_ui.xml b/src/main_window_ui.xml
index 0ad54a8..ae50fa1 100644
--- a/src/main_window_ui.xml
+++ b/src/main_window_ui.xml
@@ -129,11 +129,11 @@
<toolitem action="save-copy"/>
<toolitem action="close"/>
<toolitem action="delete"/>
- <separator />
+ <separator name="separator-1"/>
<toolitem action="back"/>
<placeholder name="placeholder-slideshow" />
<toolitem action="forward"/>
- <separator name="separator-1"/>
+ <separator name="separator-2"/>
<toolitem action="rotate-ccw"/>
<toolitem action="rotate-cw"/>
<separator />
More information about the Xfce4-commits
mailing list