[alacarte] MainWindow: Remove special formatting for hidden items
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [alacarte] MainWindow: Remove special formatting for hidden items
- Date: Tue, 30 Apr 2013 06:40:07 +0000 (UTC)
commit ab7684aa5a68ce48d92fac41c223769290dc581c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Apr 30 00:06:17 2013 -0400
MainWindow: Remove special formatting for hidden items
Alacarte/MainWindow.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/Alacarte/MainWindow.py b/Alacarte/MainWindow.py
index fddbd4f..291949d 100644
--- a/Alacarte/MainWindow.py
+++ b/Alacarte/MainWindow.py
@@ -210,8 +210,6 @@ class MainWindow(object):
def loadMenu(self, iters, parent=None):
for menu, show in self.editor.getMenus(parent):
name = cgi.escape(menu.get_name())
- if not show:
- name = "<small><i>%s</i></small>" % (name,)
icon = util.getIcon(menu)
iters[menu] = self.menu_store.append(iters[parent], (icon, name, menu))
@@ -231,8 +229,6 @@ class MainWindow(object):
assert False, 'should not be reached'
name = cgi.escape(name)
- if not show:
- name = "<small><i>%s</i></small>" % (name,)
self.item_store.append((show, icon, name, item))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]