Merging upstream version 0.3+svn20091101.
[debian/lxappearance.git] / src / demo-ui.patch
CommitLineData
8df2f63a
DB
1--- demo-ui.c.orig 2008-03-27 23:59:03.000000000 +0800
2+++ demo-ui.c 2008-03-29 07:30:57.000000000 +0800
3@@ -96,14 +96,18 @@
4 tooltips = gtk_tooltips_new ();
5
6 accel_group = gtk_accel_group_new ();
7-
8+/*
9 demo_window = gtk_window_new (GTK_WINDOW_POPUP);
10 gtk_widget_set_events (demo_window, GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK);
11 gtk_window_set_decorated (GTK_WINDOW (demo_window), FALSE);
12-
13+*/
14 top_vbox = gtk_vbox_new (FALSE, 0);
15 gtk_widget_show (top_vbox);
16+ demo_window = top_vbox;
17+
18+/*
19 gtk_container_add (GTK_CONTAINER (demo_window), top_vbox);
20+*/
21
22 menubar1 = gtk_menu_bar_new ();
23 gtk_widget_show (menubar1);
24@@ -361,6 +365,8 @@
25 NULL);
26
27 /* Store pointers to all widgets, for use by lookup_widget(). */
28+
29+/*
30 GLADE_HOOKUP_OBJECT_NO_REF (demo_window, demo_window, "demo_window");
31 GLADE_HOOKUP_OBJECT (demo_window, top_vbox, "top_vbox");
32 GLADE_HOOKUP_OBJECT (demo_window, menubar1, "menubar1");
33@@ -382,13 +388,17 @@
34 GLADE_HOOKUP_OBJECT (demo_window, menuitem4_menu, "menuitem4_menu");
35 GLADE_HOOKUP_OBJECT (demo_window, about1, "about1");
36 GLADE_HOOKUP_OBJECT (demo_window, handlebox1, "handlebox1");
37+*/
38 GLADE_HOOKUP_OBJECT (demo_window, toolbar, "toolbar");
39+/*
40 GLADE_HOOKUP_OBJECT (demo_window, toolbutton1, "toolbutton1");
41 GLADE_HOOKUP_OBJECT (demo_window, toolbutton2, "toolbutton2");
42 GLADE_HOOKUP_OBJECT (demo_window, toolbutton3, "toolbutton3");
43 GLADE_HOOKUP_OBJECT (demo_window, notebook2, "notebook2");
44 GLADE_HOOKUP_OBJECT (demo_window, scrolledwindow4, "scrolledwindow4");
45+*/
46 GLADE_HOOKUP_OBJECT (demo_window, icon_view, "icon_view");
47+/*
48 GLADE_HOOKUP_OBJECT (demo_window, label12, "label12");
49 GLADE_HOOKUP_OBJECT (demo_window, hbox2, "hbox2");
50 GLADE_HOOKUP_OBJECT (demo_window, frame2, "frame2");
51@@ -416,13 +426,15 @@
52 GLADE_HOOKUP_OBJECT (demo_window, text_view, "text_view");
53 GLADE_HOOKUP_OBJECT (demo_window, label14, "label14");
54 GLADE_HOOKUP_OBJECT (demo_window, scrolledwindow6, "scrolledwindow6");
55+*/
56 GLADE_HOOKUP_OBJECT (demo_window, demo_treeview, "demo_treeview");
57+/*
58 GLADE_HOOKUP_OBJECT (demo_window, label17, "label17");
59 GLADE_HOOKUP_OBJECT (demo_window, statusbar1, "statusbar1");
60 GLADE_HOOKUP_OBJECT_NO_REF (demo_window, tooltips, "tooltips");
61
62 gtk_window_add_accel_group (GTK_WINDOW (demo_window), accel_group);
63-
64+*/
65 return demo_window;
66 }
67