diff --git a/gui/icons/README b/gui/icons/README index 6ad3eaf..3fe8c0d 100644 --- a/gui/icons/README +++ b/gui/icons/README @@ -1 +1 @@ -These icons were shamelessly taken from nemiver. +These icons were shamelessly taken from nemiver and Gnome. diff --git a/gui/icons/face-raspberry-symbolic.svg b/gui/icons/face-raspberry-symbolic.svg new file mode 100644 index 0000000..0e88321 --- /dev/null +++ b/gui/icons/face-raspberry-symbolic.svg @@ -0,0 +1,31 @@ + + + + + + + + image/svg+xml + + Gnome Symbolic Icon Theme + + + + + + + Gnome Symbolic Icon Theme + + + + + + + + + + + + + + diff --git a/gui/startup.py b/gui/startup.py index 2fc79b2..dbc9f9a 100644 --- a/gui/startup.py +++ b/gui/startup.py @@ -23,7 +23,7 @@ import gui import fix_signals fix_signals.save() -from gi.repository import Gtk, Gdk, GObject, GtkSource, GLib +from gi.repository import Gtk, Gdk, GObject, GtkSource, GLib, GdkPixbuf (read_pipe, write_pipe) = os.pipe() @@ -57,6 +57,8 @@ def start_gtk(): GLib.set_prgname('GDB') Gdk.set_program_class('GDB') Gtk.Window.set_default_icon_name('GDB') + path = os.path.join(gui.self_dir, 'icons/face-raspberry-symbolic.svg') + Gtk.Window.set_default_icon(GdkPixbuf.Pixbuf.new_from_file(path)) GObject.threads_init() Gdk.threads_init() _t = _GtkThread()