From 076358324b9b7999f5f1705aed346361c8fb4706 Mon Sep 17 00:00:00 2001 From: Rafael Ortiz Date: Fri, 15 Mar 2013 04:22:53 +0000 Subject: not having icon as wireframes say --- diff --git a/GetIABooksActivity.py b/GetIABooksActivity.py index 6ea35e7..13637af 100644 --- a/GetIABooksActivity.py +++ b/GetIABooksActivity.py @@ -93,14 +93,14 @@ class GetIABooksActivity(activity.Activity): # toolbar toolbar_box = ToolbarBox() - activity_button = ToolButton() - color = profile.get_color() - bundle = ActivityBundle(activity.get_bundle_path()) - icon = Icon(file=bundle.get_icon(), xo_color=color) - activity_button.set_icon_widget(icon) - activity_button.show() - - toolbar_box.toolbar.insert(activity_button, 0) + #activity_button = ToolButton() # boton de icono + #color = profile.get_color() + #bundle = ActivityBundle(activity.get_bundle_path()) + #icon = Icon(file=bundle.get_icon(), xo_color=color) + #activity_button.set_icon_widget(icon) + #activity_button.show() + + #toolbar_box.toolbar.insert(activity_button, 0) self._add_search_controls(toolbar_box.toolbar) # anadiendo busqueda @@ -109,13 +109,14 @@ class GetIABooksActivity(activity.Activity): separator.set_expand(True) toolbar_box.toolbar.insert(separator, -1) - toolbar_box.toolbar.insert(StopButton(self), -1) # boton de parado. separator = Gtk.SeparatorToolItem() # separador separator.props.draw = False separator.set_expand(True) toolbar_box.toolbar.insert(separator, -1) - + + toolbar_box.toolbar.insert(StopButton(self), -1) # boton de parado. + self.set_toolbar_box(toolbar_box) toolbar_box.show_all() self._books_toolbar = toolbar_box.toolbar @@ -260,7 +261,7 @@ class GetIABooksActivity(activity.Activity): toolbar.insert(book_search_item, -1) book_search_item.show() - toolbar.source_combo = ComboBox() #combo de fuente + toolbar.source_combo = ComboBox() # combo de fuente de donde salen los libros. toolbar.source_combo.props.sensitive = True toolbar.source_changed_cb_id = \ toolbar.source_combo.connect('changed', self.__source_changed_cb) -- cgit v0.9.1