[packages] strace: call the install target, re-remove the obsolete 2.6.21 test, remov...
[openwrt/svn-archive/archive.git] / Xorg / app / gtkperf / patches / 010-change-layout.patch
1 --- gtkperf/src/interface.c 2005-06-07 18:15:24.000000000 +0200
2 +++ gtkperf.orig/src/interface.c 2009-10-15 12:17:43.000000000 +0200
3 @@ -44,12 +44,13 @@
4 GtkWidget *vbox_main;
5 GtkWidget *vbox_info;
6 GtkWidget *hbox1;
7 + GtkWidget *hbox2;
8 GtkWidget *button_clear;
9 GtkWidget *label8;
10 GtkObject *spinbutton_count_adj;
11 GtkWidget *button_start;
12 GtkWidget *alignment1;
13 - GtkWidget *hbox2;
14 + GtkWidget *hbox_start;
15 GtkWidget *image1;
16 GtkWidget *label6;
17 GtkWidget *scrolledwindow1;
18 @@ -91,8 +92,8 @@
19 appdata->window_main = gtk_window_new (GTK_WINDOW_TOPLEVEL);
20 gtk_window_set_title (GTK_WINDOW (appdata->window_main),
21 _("GtkPerf"));
22 - gtk_window_set_default_size (GTK_WINDOW (appdata->window_main), 500,
23 - 300);
24 + gtk_window_set_default_size (GTK_WINDOW (appdata->window_main), 320,
25 + 240);
26 gtk_widget_show(appdata->window_main);
27
28 #endif
29 @@ -115,6 +116,9 @@
30 hbox1 = gtk_hbox_new (FALSE, 10);
31 gtk_widget_show (hbox1);
32 gtk_box_pack_start (GTK_BOX (vbox_info), hbox1, FALSE, TRUE, 4);
33 + hbox2 = gtk_hbox_new (FALSE, 10);
34 + gtk_widget_show (hbox2);
35 + gtk_box_pack_start (GTK_BOX (vbox_info), hbox2, FALSE, TRUE, 4);
36
37 button_clear = gtk_button_new_from_stock ("gtk-clear");
38 gtk_widget_show (button_clear);
39 @@ -134,7 +138,7 @@
40 gtk_widget_set_size_request (appdata->spinbutton_count, 100, -1);
41 appdata->combobox_testtype = gtk_combo_box_new_text ();
42 gtk_widget_show (appdata->combobox_testtype);
43 - gtk_box_pack_start (GTK_BOX (hbox1), appdata->combobox_testtype, TRUE,
44 + gtk_box_pack_start (GTK_BOX (hbox2), appdata->combobox_testtype, TRUE,
45 TRUE, 0);
46 gtk_combo_box_append_text (GTK_COMBO_BOX (appdata->combobox_testtype),
47 _("Test All"));
48 @@ -169,23 +173,23 @@
49
50 button_start = gtk_button_new ();
51 gtk_widget_show (button_start);
52 - gtk_box_pack_start (GTK_BOX (hbox1), button_start, FALSE, FALSE, 0);
53 + gtk_box_pack_start (GTK_BOX (hbox2), button_start, FALSE, FALSE, 0);
54
55 alignment1 = gtk_alignment_new (0.5, 0.5, 0, 0);
56 gtk_widget_show (alignment1);
57 gtk_container_add (GTK_CONTAINER (button_start), alignment1);
58
59 - hbox2 = gtk_hbox_new (FALSE, 2);
60 - gtk_widget_show (hbox2);
61 - gtk_container_add (GTK_CONTAINER (alignment1), hbox2);
62 + hbox_start = gtk_hbox_new (FALSE, 2);
63 + gtk_widget_show (hbox_start);
64 + gtk_container_add (GTK_CONTAINER (alignment1), hbox_start);
65 image1 = gtk_image_new_from_stock ("gtk-execute",
66 GTK_ICON_SIZE_BUTTON);
67 gtk_widget_show (image1);
68 - gtk_box_pack_start (GTK_BOX (hbox2), image1, FALSE, FALSE, 0);
69 + gtk_box_pack_start (GTK_BOX (hbox_start), image1, FALSE, FALSE, 0);
70
71 label6 = gtk_label_new_with_mnemonic (_("Start"));
72 gtk_widget_show (label6);
73 - gtk_box_pack_start (GTK_BOX (hbox2), label6, FALSE, FALSE, 0);
74 + gtk_box_pack_start (GTK_BOX (hbox_start), label6, FALSE, FALSE, 0);
75
76 scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL);
77 gtk_widget_show (scrolledwindow1);