Nicer icons for preferences

This commit is contained in:
Pierre Pronchery 2011-08-12 00:48:35 +00:00
parent 47676710b9
commit 7bec7a541a
2 changed files with 2 additions and 4 deletions

View File

@ -486,7 +486,7 @@ static void _idle_settings(Phone * phone)
PHONE_SETTINGS_COLUMN_NAME, _("System preferences"),
-1);
theme = gtk_icon_theme_get_default();
if((pixbuf = gtk_icon_theme_load_icon(theme, "gnome-settings", 48, 0,
if((pixbuf = gtk_icon_theme_load_icon(theme, "gtk-preferences", 48, 0,
NULL)) != NULL)
gtk_list_store_set(phone->se_store, &iter,
PHONE_SETTINGS_COLUMN_ICON, pixbuf, -1);

View File

@ -159,9 +159,7 @@ static int _debug_init(PhonePlugin * plugin)
g_signal_connect_swapped(G_OBJECT(toolitem), "clicked", G_CALLBACK(
_on_debug_messages), plugin);
gtk_toolbar_insert(GTK_TOOLBAR(widget), toolitem, -1);
toolitem = gtk_tool_button_new(NULL, "Settings");
gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(toolitem),
"gnome-settings");
toolitem = gtk_tool_button_new_from_stock(GTK_STOCK_PREFERENCES);
g_signal_connect_swapped(G_OBJECT(toolitem), "clicked", G_CALLBACK(
_on_debug_settings), plugin);
gtk_toolbar_insert(GTK_TOOLBAR(widget), toolitem, -1);