summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-12 16:39:57 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-12 16:39:57 -0800
commit0756f628f0a20b5818f40cc8253e32ff5f71115e (patch)
treec6b3afdb0420f487f07d5be6ac4dc93c3ade3266 /scripts
parente6d8676171bf9e5f25d48fde962e6f5aab3037a0 (diff)
parentd375cab01efb635bc731118aa17d6c614c00c753 (diff)
Merge bk://linux-sam.bkbits.net/kconfig
into ppc970.osdl.org:/home/torvalds/v2.6/linux
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/gconf.c40
1 files changed, 36 insertions, 4 deletions
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index ed4afa063fb6..c5cf71535a9f 100644
--- a/scripts/kconfig/gconf.c
+++ b/scripts/kconfig/gconf.c
@@ -11,7 +11,6 @@
#endif
#include "lkc.h"
-#include "images.c"
#include <glade/glade.h>
#include <gtk/gtk.h>
@@ -222,15 +221,15 @@ void init_main_window(const gchar * glade_file)
switch (view_mode) {
case SINGLE_VIEW:
widget = glade_xml_get_widget(xml, "button4");
- gtk_button_clicked(GTK_BUTTON(widget));
+ g_signal_emit_by_name(widget, "clicked");
break;
case SPLIT_VIEW:
widget = glade_xml_get_widget(xml, "button5");
- gtk_button_clicked(GTK_BUTTON(widget));
+ g_signal_emit_by_name(widget, "clicked");
break;
case FULL_VIEW:
widget = glade_xml_get_widget(xml, "button6");
- gtk_button_clicked(GTK_BUTTON(widget));
+ g_signal_emit_by_name(widget, "clicked");
break;
}
@@ -1142,6 +1141,39 @@ on_treeview1_button_press_event(GtkWidget * widget,
/* Conf management */
+static const char *xpm_menu[] = {
+"12 12 2 1",
+" c white",
+". c black",
+" ",
+" ",
+" . ",
+" .. ",
+" ... ",
+" .... ",
+" ..... ",
+" .... ",
+" ... ",
+" .. ",
+" . ",
+" "};
+
+static const char *xpm_void[] = {
+"12 12 2 1",
+" c white",
+". c black",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" "};
/* Fill a row of strings */
static gchar **fill_row(struct menu *menu)