Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:winddss:gnome-panel-nld
gnome-panel-nld
launcher-theme-icon.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File launcher-theme-icon.diff of Package gnome-panel-nld
--- gnome-panel/launcher.c +++ gnome-panel/launcher.c @@ -802,6 +802,12 @@ GtkWidget *help; GtkWidget *close; GtkWidget *revert; + char *icon = NULL; + char *themeicon = NULL; + GnomeIconTheme *panel_icon_theme = NULL; + panel_icon_theme = gnome_icon_theme_new (); + gnome_icon_theme_set_allow_svg (panel_icon_theme, TRUE); + dialog = gtk_dialog_new (); @@ -823,6 +829,11 @@ launcher->dedit = gnome_ditem_edit_new (); gtk_container_set_border_width (GTK_CONTAINER (launcher->dedit), 5); + + icon = gnome_desktop_item_get_string (launcher->ditem, GNOME_DESKTOP_ITEM_ICON); + themeicon = gnome_desktop_item_find_icon (panel_icon_theme, icon, 48, 0); + gnome_desktop_item_set_string (launcher->ditem, GNOME_DESKTOP_ITEM_ICON, themeicon); + gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), launcher->dedit, TRUE, TRUE, 0);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor