Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Kaufmann <humitos@gmail.com>2012-11-20 15:36:10 (GMT)
committer Simon Schampijer <simon@laptop.org>2012-11-23 11:01:43 (GMT)
commit2d8178affd16026923c726c2164bb1e2783b8577 (patch)
tree5e080276dc49563d137cc479859d38a50ed926d2
parent186e159a1da4f83e95358c3567e7b05aceb241fa (diff)
Order of MenuItems in palettes, SL #4230
Keep the same order for MenuItems when the Palettes are shown for links as in previous builds. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Simon Schampijer <simon@laptop.org>
-rw-r--r--palettes.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/palettes.py b/palettes.py
index 03cfef3..00cf26a 100644
--- a/palettes.py
+++ b/palettes.py
@@ -202,25 +202,25 @@ class LinkPalette(Palette):
menu_item = SugarMenuItem(_('Follow link'), 'browse-follow-link')
menu_item.connect('clicked', self.__follow_activate_cb)
- menu_box.pack_end(menu_item, False, False, 0)
+ menu_box.pack_start(menu_item, False, False, 0)
menu_item.show()
menu_item = SugarMenuItem(_('Follow link in new tab'),
'browse-follow-link-new-tab')
menu_item.connect('clicked', self.__follow_activate_cb, True)
- menu_box.pack_end(menu_item, False, False, 0)
+ menu_box.pack_start(menu_item, False, False, 0)
menu_item.show()
menu_item = SugarMenuItem(_('Keep link'), 'document-save')
menu_item.icon.props.xo_color = profile.get_color()
menu_item.connect('clicked', self.__download_activate_cb)
- menu_box.pack_end(menu_item, False, False, 0)
+ menu_box.pack_start(menu_item, False, False, 0)
menu_item.show()
menu_item = SugarMenuItem(_('Copy link'), 'edit-copy')
menu_item.icon.props.xo_color = profile.get_color()
menu_item.connect('clicked', self.__copy_activate_cb)
- menu_box.pack_end(menu_item, False, False, 0)
+ menu_box.pack_start(menu_item, False, False, 0)
menu_item.show()
def __follow_activate_cb(self, menu_item, new_tab=False):