Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Ortiz <dirakx@gmail.com>2013-03-15 04:22:53 (GMT)
committer Rafael Ortiz <dirakx@gmail.com>2013-03-15 04:22:53 (GMT)
commit076358324b9b7999f5f1705aed346361c8fb4706 (patch)
treea5ec3cfb60bc71e05a63305e94dbc9b67c25fd46
parent973203497c02d94ad21805d6da57c3e154302b8f (diff)
not having icon as wireframes say
-rw-r--r--GetIABooksActivity.py23
1 files changed, 12 insertions, 11 deletions
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)