Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename hamster icon to org.gnome.Hamster.GUI #542

Merged
merged 1 commit into from
Feb 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion data/edit_activity.ui
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<property name="title" translatable="yes">Add Earlier Activity</property>
<property name="window_position">center</property>
<property name="destroy_with_parent">True</property>
<property name="icon_name">hamster</property>
<property name="icon_name">org.gnome.Hamster.GUI</property>
<property name="has_resize_grip">True</property>
<signal name="delete-event" handler="on_close" swapped="no"/>
<signal name="key-press-event" handler="on_window_key_pressed" swapped="no"/>
Expand Down
2 changes: 1 addition & 1 deletion data/org.gnome.Hamster.GUI.desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Type=Application
Terminal=false
Name=Hamster
Comment=Your personal time keeping tool
Icon=hamster
Icon=org.gnome.Hamster.GUI
DBusActivatable=true
Exec=@BINDIR@/hamster
Categories=GNOME;GTK;Utility;
Expand Down
2 changes: 1 addition & 1 deletion data/preferences.ui
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<property name="default_width">450</property>
<property name="default_height">500</property>
<property name="destroy_with_parent">True</property>
<property name="icon_name">hamster</property>
<property name="icon_name">org.gnome.Hamster.GUI</property>
<signal name="key-press-event" handler="on_preferences_window_key_press" swapped="no"/>
<child>
<object class="GtkBox" id="big_box">
Expand Down
2 changes: 1 addition & 1 deletion data/stats.ui
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<property name="window_position">center</property>
<property name="default_width">800</property>
<property name="default_height">550</property>
<property name="icon_name">hamster</property>
<property name="icon_name">org.gnome.Hamster.GUI</property>
<signal name="key_press_event" handler="on_window_key_pressed"/>
<signal name="delete_event" handler="on_stats_window_deleted"/>
<child>
Expand Down
11 changes: 6 additions & 5 deletions data/wscript_build
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ bld.install_files('${DATADIR}/hamster', 'hamster.db')
bld.install_files('${DATADIR}/hamster/art', start_dir.ant_glob('art/*.png'))
bld.install_files('${DATADIR}/hamster', 'report_template.html')

bld.install_files('${DATADIR}/icons/hicolor/16x16/apps', 'art/16x16/hamster.png')
bld.install_files('${DATADIR}/icons/hicolor/22x22/apps', 'art/22x22/hamster.png')
bld.install_files('${DATADIR}/icons/hicolor/32x32/apps', 'art/32x32/hamster.png')
bld.install_files('${DATADIR}/icons/hicolor/48x48/apps', 'art/scalable/hamster.png')
bld.install_files('${DATADIR}/icons/hicolor/scalable/apps','art/scalable/hamster.svg')
bld.install_files('${DATADIR}/icons/hicolor/16x16/apps', 'art/16x16/org.gnome.Hamster.GUI.png')
bld.install_files('${DATADIR}/icons/hicolor/22x22/apps', 'art/22x22/org.gnome.Hamster.GUI.png')
bld.install_files('${DATADIR}/icons/hicolor/24x24/apps', 'art/24x24/org.gnome.Hamster.GUI.png')
bld.install_files('${DATADIR}/icons/hicolor/32x32/apps', 'art/32x32/org.gnome.Hamster.GUI.png')
bld.install_files('${DATADIR}/icons/hicolor/48x48/apps', 'art/scalable/org.gnome.Hamster.GUI.png')
bld.install_files('${DATADIR}/icons/hicolor/scalable/apps','art/scalable/org.gnome.Hamster.GUI.svg')

bld.install_files('${DATADIR}/metainfo', 'hamster.metainfo.xml')

Expand Down
2 changes: 1 addition & 1 deletion src/hamster/about.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, parent=None):
for prop, val in infos.items():
about.set_property(prop, val)

about.set_logo_icon_name("hamster")
about.set_logo_icon_name("org.gnome.Hamster.GUI")

about.connect("response", lambda self, *args: self.destroy())
about.show_all()
Expand Down
2 changes: 1 addition & 1 deletion src/hamster/overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def __init__(self, parent = None):
self.prefs_dialog = None # preferences dialog controller

self.window.set_position(gtk.WindowPosition.CENTER)
self.window.set_default_icon_name("hamster")
self.window.set_default_icon_name("org.gnome.Hamster.GUI")
self.window.set_default_size(700, 500)

self.storage = hamster.client.Storage()
Expand Down