Switch to symbolic icons
This commit is contained in:
parent
3170a2a6b9
commit
42ef09742a
@ -765,16 +765,16 @@ class MenuWin(object):
|
|||||||
# this callback is to create a context menu
|
# this callback is to create a context menu
|
||||||
def create_menu(self):
|
def create_menu(self):
|
||||||
action_group = Gtk.ActionGroup(name="context-menu")
|
action_group = Gtk.ActionGroup(name="context-menu")
|
||||||
action = Gtk.Action(name="MintMenuPrefs", label=_("Preferences"), tooltip=None, stock_id="gtk-preferences")
|
action = Gtk.Action(name="MintMenuPrefs", label=_("Preferences"), tooltip=None)
|
||||||
action.connect("activate", self.showPreferences)
|
action.connect("activate", self.showPreferences)
|
||||||
action_group.add_action(action)
|
action_group.add_action(action)
|
||||||
action = Gtk.Action(name="MintMenuEdit", label=_("Edit menu"), tooltip=None, stock_id="gtk-edit")
|
action = Gtk.Action(name="MintMenuEdit", label=_("Edit menu"), tooltip=None)
|
||||||
action.connect("activate", self.showMenuEditor)
|
action.connect("activate", self.showMenuEditor)
|
||||||
action_group.add_action(action)
|
action_group.add_action(action)
|
||||||
action = Gtk.Action(name="MintMenuReload", label=_("Reload plugins"), tooltip=None, stock_id="gtk-refresh")
|
action = Gtk.Action(name="MintMenuReload", label=_("Reload plugins"), tooltip=None)
|
||||||
action.connect("activate", self.mainwin.RegenPlugins)
|
action.connect("activate", self.mainwin.RegenPlugins)
|
||||||
action_group.add_action(action)
|
action_group.add_action(action)
|
||||||
action = Gtk.Action(name="MintMenuAbout", label=_("About"), tooltip=None, stock_id="gtk-about")
|
action = Gtk.Action(name="MintMenuAbout", label=_("About"), tooltip=None)
|
||||||
action.connect("activate", self.showAboutDialog)
|
action.connect("activate", self.showAboutDialog)
|
||||||
action_group.add_action(action)
|
action_group.add_action(action)
|
||||||
action_group.set_translation_domain ("mintmenu")
|
action_group.set_translation_domain ("mintmenu")
|
||||||
|
@ -634,7 +634,7 @@ class pluginclass(object):
|
|||||||
|
|
||||||
self.add_suggestion("accessories-dictionary", _("Lookup %s in Dictionary") % text, None,
|
self.add_suggestion("accessories-dictionary", _("Lookup %s in Dictionary") % text, None,
|
||||||
self.search_dictionary)
|
self.search_dictionary)
|
||||||
self.add_suggestion("edit-find", _("Search Computer for %s") % text, None, self.Search)
|
self.add_suggestion("edit-find-symbolic", _("Search Computer for %s") % text, None, self.Search)
|
||||||
|
|
||||||
self.applicationsBox.get_children()[-1].grab_focus()
|
self.applicationsBox.get_children()[-1].grab_focus()
|
||||||
|
|
||||||
@ -986,7 +986,7 @@ class pluginclass(object):
|
|||||||
add_menu_item('/usr/lib/linuxmint/mintMenu/search_engines/wikipedia.svg', _("Search Wikipedia"), self.search_wikipedia)
|
add_menu_item('/usr/lib/linuxmint/mintMenu/search_engines/wikipedia.svg', _("Search Wikipedia"), self.search_wikipedia)
|
||||||
|
|
||||||
add_menu_item('accessories-dictionary', _("Search Dictionary"), self.search_dictionary)
|
add_menu_item('accessories-dictionary', _("Search Dictionary"), self.search_dictionary)
|
||||||
add_menu_item("edit-find", _("Search Computer"), self.Search)
|
add_menu_item("edit-find-symbolic", _("Search Computer"), self.Search)
|
||||||
add_menu_item()
|
add_menu_item()
|
||||||
add_menu_item('/usr/lib/linuxmint/mintMenu/search_engines/software.png', _("Find Software"), self.search_mint_software)
|
add_menu_item('/usr/lib/linuxmint/mintMenu/search_engines/software.png', _("Find Software"), self.search_mint_software)
|
||||||
add_menu_item('/usr/lib/linuxmint/mintMenu/search_engines/tutorials.png', _("Find Tutorials"), self.search_mint_tutorials)
|
add_menu_item('/usr/lib/linuxmint/mintMenu/search_engines/tutorials.png', _("Find Tutorials"), self.search_mint_tutorials)
|
||||||
@ -1624,7 +1624,7 @@ class pluginclass(object):
|
|||||||
# Build a list of all categories in the menu ([{"name", "icon", tooltip"}]
|
# Build a list of all categories in the menu ([{"name", "icon", tooltip"}]
|
||||||
def buildCategoryList(self):
|
def buildCategoryList(self):
|
||||||
newCategoryList = [{"name": _("All"),
|
newCategoryList = [{"name": _("All"),
|
||||||
"icon": "edit-select-all",
|
"icon": "start-here-symbolic",
|
||||||
"tooltip": _("Show all applications"),
|
"tooltip": _("Show all applications"),
|
||||||
"filter":"", "index": 0}]
|
"filter":"", "index": 0}]
|
||||||
num = 1
|
num = 1
|
||||||
|
@ -95,7 +95,7 @@
|
|||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="margin_left">5</property>
|
<property name="margin_left">5</property>
|
||||||
<property name="margin_right">5</property>
|
<property name="margin_right">5</property>
|
||||||
<property name="stock">gtk-go-forward</property>
|
<property name="icon_name">go-next-symbolic</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">True</property>
|
<property name="expand">True</property>
|
||||||
@ -242,7 +242,7 @@
|
|||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="margin_left">5</property>
|
<property name="margin_left">5</property>
|
||||||
<property name="margin_right">5</property>
|
<property name="margin_right">5</property>
|
||||||
<property name="stock">gtk-go-forward</property>
|
<property name="icon_name">go-next-symbolic</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">True</property>
|
<property name="expand">True</property>
|
||||||
@ -407,7 +407,7 @@
|
|||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="can_default">True</property>
|
<property name="can_default">True</property>
|
||||||
<property name="has_default">True</property>
|
<property name="has_default">True</property>
|
||||||
<property name="stock">gtk-find</property>
|
<property name="icon_name">edit-find-symbolic</property>
|
||||||
<property name="icon_size">1</property>
|
<property name="icon_size">1</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
Loading…
Reference in New Issue
Block a user