Set system-preferences as icon

This commit is contained in:
Alessio Treglia 2012-03-17 18:00:35 +01:00
parent bd9ea3b37e
commit 2982eaadbd
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,6 @@ Type=Application
_Comment=Configure the LADI system
Terminal=false
Exec=ladi-control-center
Icon=ladi-control-center
Icon=preferences-system
Categories=GNOME;GTK;Settings;
_GenericName=LADI configuration

View File

@ -627,6 +627,8 @@ def show_panels(*args, **kwargs):
return None
mods = kwargs['modules']
window = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
window.set_title("LADI Settings")
window.set_icon_name('preferences-system')
window.set_resizable(True)
notebook = Gtk.Notebook()
notebook.set_tab_pos(Gtk.PositionType.LEFT)