Skip to content

Commit

Permalink
Update ice
Browse files Browse the repository at this point in the history
1) Renamed "Where in the menu?" categories:-
Sound & Audio  -->  Multimedia
System Tools  -->  System
in line with the default Xfce menu categories.
2) Changed 'Isolate' checkbox text.
3) added space at beginning of browser selection radio button text.
  • Loading branch information
Mark-Peppermint authored Feb 27, 2019
1 parent d5ffa6a commit 1c3b151
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions usr/bin/ice
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# by Kendall Weaver <[email protected]>
# for Peppermint OS
# modified by Mark Greaves (PCNetSpec) <[email protected]>
# with much appreciated code contributions by rhein
# internationalization (i18n)/gettext support by Kiyohito AOKI
#
# Ice is a simple Site Specific Browser (SSB) manager for Chromium and
Expand Down Expand Up @@ -232,9 +233,9 @@ def applicate():
location = "Office;"
elif loc == _("Programming"):
location = "Development;"
elif loc == _("Sound & Video"):
elif loc == _("Multimedia"):
location = "AudioVideo;"
elif loc == _("System Tools"):
elif loc == _("System"):
location = "System;"

global iconpath
Expand Down Expand Up @@ -620,7 +621,7 @@ class Ice(Gtk.Window):
url.set_placeholder_text(_("Enter web address"))

where_store = [_("Accessories"), _("Games"), _("Graphics"), _("Internet"),
_("Office"), _("Programming"), _("Sound & Video"), _("System Tools")]
_("Office"), _("Programming"), _("Multimedia"), _("System")]
where_lab = Gtk.Label(label="Where in the menu?")
global where
where = Gtk.ComboBoxText()
Expand Down Expand Up @@ -660,7 +661,7 @@ class Ice(Gtk.Window):
icon_hbox.pack_start(icon_vbox, True, True, 0)

global firefox
firefox = Gtk.RadioButton.new_with_label_from_widget(None, "Firefox")
firefox = Gtk.RadioButton.new_with_label_from_widget(None, " Firefox")

if not os.path.exists(_FIREFOX_BIN):
firefox.set_sensitive(False)
Expand All @@ -673,7 +674,7 @@ class Ice(Gtk.Window):

global chrome
chrome = Gtk.RadioButton.new_from_widget(firefox)
chrome.set_label("Chrome")
chrome.set_label(" Chrome")

if not os.path.exists(_CHROME_BIN):
chrome.set_sensitive(False)
Expand All @@ -686,7 +687,7 @@ class Ice(Gtk.Window):

global vivaldi
vivaldi = Gtk.RadioButton.new_from_widget(chrome)
vivaldi.set_label("Vivaldi")
vivaldi.set_label(" Vivaldi")

if not os.path.exists(_VIVALDI_BIN):
vivaldi.set_sensitive(False)
Expand All @@ -699,7 +700,7 @@ class Ice(Gtk.Window):

global chromium
chromium = Gtk.RadioButton.new_from_widget(chrome)
chromium.set_label("Chromium")
chromium.set_label(" Chromium")

if not os.path.exists(_CHROMIUM_BIN):
chromium.set_sensitive(False)
Expand All @@ -713,7 +714,7 @@ class Ice(Gtk.Window):
global isolate_profile
isolate_profile=False
isolate_box = Gtk.VBox()
isolate_button = Gtk.CheckButton(label="Isolate Sessions into separate browser profile (Note: Firefox Sessions are always isolated by default)")
isolate_button = Gtk.CheckButton(label=" Create the SSB with an isolated browser profile (Note: Firefox SSB's are always isolated)")
isolate_button.connect("toggled", self.isolate_clicked)
isolate_box.add(isolate_button)

Expand Down

0 comments on commit 1c3b151

Please sign in to comment.