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:39:52 (GMT)
committer Rafael Ortiz <dirakx@gmail.com>2013-03-15 04:39:52 (GMT)
commitac912803e2efd3ad012928055cd20c00b4336ed7 (patch)
tree4e179f62ee694b46e9d12e4e921a12ddbdca590b
parent076358324b9b7999f5f1705aed346361c8fb4706 (diff)
organizing stop button
-rw-r--r--GetIABooksActivity.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/GetIABooksActivity.py b/GetIABooksActivity.py
index 13637af..5726fe3 100644
--- a/GetIABooksActivity.py
+++ b/GetIABooksActivity.py
@@ -93,7 +93,7 @@ class GetIABooksActivity(activity.Activity):
# toolbar
toolbar_box = ToolbarBox()
- #activity_button = ToolButton() # boton de icono
+ #activity_button = ToolButton() # boton de icono de actividad
#color = profile.get_color()
#bundle = ActivityBundle(activity.get_bundle_path())
#icon = Icon(file=bundle.get_icon(), xo_color=color)
@@ -109,13 +109,12 @@ class GetIABooksActivity(activity.Activity):
separator.set_expand(True)
toolbar_box.toolbar.insert(separator, -1)
-
- 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.
+ stop_button = StopButton(self)
+ stop_button.props.accelerator = '<Ctrl>q'
+ toolbar_box.toolbar.insert(stop_button, -1)
+ stop_button.show()
+
+ #toolbar_box.toolbar.insert(StopButton(self), -1) # boton de parado.
self.set_toolbar_box(toolbar_box)
toolbar_box.show_all()