[Dextrose] [PATCH sugar 06/11] Remove separator in Journal toolbar #2446 (Gary C. Martin)

Aleksey Lim alsroot at member.fsf.org
Sat Jan 15 09:10:45 EST 2011


From: Simon Schampijer <simon at schampijer.de>

Search field fills available toolbar space now
---
 src/jarabe/journal/journaltoolbox.py |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/src/jarabe/journal/journaltoolbox.py b/src/jarabe/journal/journaltoolbox.py
index 8f5e376..0bd274b 100644
--- a/src/jarabe/journal/journaltoolbox.py
+++ b/src/jarabe/journal/journaltoolbox.py
@@ -110,8 +110,6 @@ class SearchToolbar(gtk.Toolbar):
         self.insert(tool_item, -1)
         tool_item.show()
 
-        self._add_separator(expand=True)
-
         self._list_view_button = ListViewButton()
         # TODO: Connect when Grid View is implemented
         #self._list_view.connect('toggled', self.__view_button_toggled_cb)
@@ -166,17 +164,6 @@ class SearchToolbar(gtk.Toolbar):
         with_search.connect('changed', self._combo_changed_cb)
         return with_search
 
-    def _add_separator(self, expand=False):
-        separator = gtk.SeparatorToolItem()
-        separator.props.draw = False
-        if expand:
-            separator.set_expand(True)
-        else:
-            separator.set_size_request(style.GRID_CELL_SIZE,
-                                       style.GRID_CELL_SIZE)
-        self.insert(separator, -1)
-        separator.show()
-
     def _add_widget(self, widget, expand=False):
         tool_item = gtk.ToolItem()
         tool_item.set_expand(expand)
-- 
1.7.3.4



More information about the Dextrose mailing list