Revert a 2.6.11 patch "make gconfig work with gtk-2.4". It causes the cure little pixmap buttons to not appear any more. Hopefully this will motivate someone to have another attempt at fixing gconf for gtk-2.4. Signed-off-by: Andrew Morton --- 25-akpm/scripts/kconfig/gconf.c | 32 ++++++++++++++++++++++++++++ 25-akpm/scripts/kconfig/gconf.glade | 40 +++++++++++++++++------------------- 2 files changed, 51 insertions(+), 21 deletions(-) diff -puN scripts/kconfig/gconf.c~revert-gconfig-changes scripts/kconfig/gconf.c --- 25/scripts/kconfig/gconf.c~revert-gconfig-changes 2005-03-13 14:04:39.000000000 -0800 +++ 25-akpm/scripts/kconfig/gconf.c 2005-03-13 14:05:03.000000000 -0800 @@ -187,6 +187,8 @@ void init_main_window(const gchar * glad GtkWidget *widget; GtkTextBuffer *txtbuf; char title[256]; + GdkPixmap *pixmap; + GdkBitmap *mask; GtkStyle *style; xml = glade_xml_new(glade_file, "window1", NULL); @@ -219,6 +221,36 @@ void init_main_window(const gchar * glad style = gtk_widget_get_style(main_wnd); widget = glade_xml_get_widget(xml, "toolbar1"); + pixmap = gdk_pixmap_create_from_xpm_d(main_wnd->window, &mask, + &style->bg[GTK_STATE_NORMAL], + (gchar **) xpm_single_view); + gtk_image_set_from_pixmap(GTK_IMAGE + (((GtkToolbarChild + *) (g_list_nth(GTK_TOOLBAR(widget)-> + children, + 5)->data))->icon), + pixmap, mask); + pixmap = + gdk_pixmap_create_from_xpm_d(main_wnd->window, &mask, + &style->bg[GTK_STATE_NORMAL], + (gchar **) xpm_split_view); + gtk_image_set_from_pixmap(GTK_IMAGE + (((GtkToolbarChild + *) (g_list_nth(GTK_TOOLBAR(widget)-> + children, + 6)->data))->icon), + pixmap, mask); + pixmap = + gdk_pixmap_create_from_xpm_d(main_wnd->window, &mask, + &style->bg[GTK_STATE_NORMAL], + (gchar **) xpm_tree_view); + gtk_image_set_from_pixmap(GTK_IMAGE + (((GtkToolbarChild + *) (g_list_nth(GTK_TOOLBAR(widget)-> + children, + 7)->data))->icon), + pixmap, mask); + switch (view_mode) { case SINGLE_VIEW: widget = glade_xml_get_widget(xml, "button4"); diff -puN scripts/kconfig/gconf.glade~revert-gconfig-changes scripts/kconfig/gconf.glade --- 25/scripts/kconfig/gconf.glade~revert-gconfig-changes 2005-03-13 14:04:39.000000000 -0800 +++ 25-akpm/scripts/kconfig/gconf.glade 2005-03-13 14:05:03.000000000 -0800 @@ -310,13 +310,13 @@ True - + True Goes up of one level (single view) Back True - gtk-undo - + gtk-undo + @@ -327,24 +327,24 @@ - + True Load a config file Load True - gtk-open - + gtk-open + - + True Save a config file Save True - gtk-save - + gtk-save + @@ -355,34 +355,34 @@ - + True Single view Single True - gtk-indent + gtk-missing-image - + True Split view Split True - gtk-copy + gtk-missing-image - + True Full view Full True - gtk-justify-left + gtk-missing-image @@ -394,24 +394,22 @@ - + True Collapse the whole tree in the right frame Collapse True - gtk-zoom-out - + - + True Expand the whole tree in the right frame Expand True - gtk-zoom-in - + _