app: clean up some disabled code

This commit is contained in:
Michael Natterer 2014-06-06 23:45:00 +02:00
parent 2ef565b58f
commit 0d4e40da7b
1 changed files with 9 additions and 6 deletions

View File

@ -495,13 +495,16 @@ gui_restore_after_callback (Gimp *gimp,
gimp->message_handler = GIMP_MESSAGE_BOX;
#if 0
/* enable this to always have icons everywhere */
g_object_set (G_OBJECT (gtk_settings_get_default ()),
"gtk-button-images", TRUE,
"gtk-menu-images", TRUE,
NULL);
#endif
if (g_getenv ("GIMP_ICONS_LIKE_A_BOSS"))
{
GdkScreen *screen = gdk_screen_get_default ();
g_object_set (G_OBJECT (gtk_settings_get_for_screen (screen)),
"gtk-button-images", TRUE,
"gtk-menu-images", TRUE,
NULL);
}
if (gui_config->restore_accels)
menus_restore (gimp);