[solang] Use solang-slideshow.ui to set the properties of ToolBarSeparator1
- From: Debarshi Ray <debarshir src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [solang] Use solang-slideshow.ui to set the properties of ToolBarSeparator1
- Date: Fri, 22 Jan 2010 21:13:14 +0000 (UTC)
commit 67b29c15415dd3efe7289b18197920c4b1972bff
Author: Debarshi Ray <rishi gnu org>
Date: Thu Jan 21 21:38:46 2010 +0200
Use solang-slideshow.ui to set the properties of ToolBarSeparator1
data/solang-slideshow.ui | 2 +-
src/renderer/slideshow-window.cpp | 8 --------
2 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/data/solang-slideshow.ui b/data/solang-slideshow.ui
index d3ad5dd..f5609db 100644
--- a/data/solang-slideshow.ui
+++ b/data/solang-slideshow.ui
@@ -7,7 +7,7 @@
<toolitem action="ActionViewSlideshowZoomOut"/>
<toolitem action="ActionViewSlideshowNormalSize"/>
<toolitem action="ActionViewSlideshowBestFit"/>
- <separator name="ToolBarSeparator1"/>
+ <separator name="ToolBarSeparator1" draw="false" expand="true"/>
<placeholder name="PlaceholderFullScreenToolBar"/>
</toolbar>
<accelerator action="AccelViewSlideshowZoomIn"/>
diff --git a/src/renderer/slideshow-window.cpp b/src/renderer/slideshow-window.cpp
index 5065332..5273090 100644
--- a/src/renderer/slideshow-window.cpp
+++ b/src/renderer/slideshow-window.cpp
@@ -156,14 +156,6 @@ SlideshowWindow::SlideshowWindow() throw() :
if (0 != tool_bar)
{
- Gtk::SeparatorToolItem * const separator
- = dynamic_cast<Gtk::SeparatorToolItem *>(
- uiManager_->get_widget(
- "/ToolBar/ToolBarSeparator1"));
-
- gtk_separator_tool_item_set_draw(separator->gobj(), FALSE);
- separator->set_expand(true);
-
vBox_.pack_start(*tool_bar, Gtk::PACK_SHRINK, 0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]