summaryrefslogtreecommitdiff
path: root/community/xpad/xpad-gtk-2.20.patch
blob: 54612b6db3a77d85087bcc23b028a00f49fc4277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Only in xpad-4.0.my/autopackage: default.apspec
Only in xpad-4.0.my/autopackage: Makefile
Only in xpad-4.0.my: config.h
Only in xpad-4.0.my: config.log
Only in xpad-4.0.my: config.status
Only in xpad-4.0.my/doc: Makefile
Only in xpad-4.0.my/images: Makefile
Only in xpad-4.0.my: Makefile
Only in xpad-4.0.my/po: af.gmo
Only in xpad-4.0.my/po: bg.gmo
Only in xpad-4.0.my/po: cs.gmo
Only in xpad-4.0.my/po: da.gmo
Only in xpad-4.0.my/po: de.gmo
Only in xpad-4.0.my/po: en_GB.gmo
Only in xpad-4.0.my/po: es.gmo
Only in xpad-4.0.my/po: et.gmo
Only in xpad-4.0.my/po: fi.gmo
Only in xpad-4.0.my/po: fr.gmo
Only in xpad-4.0.my/po: ga.gmo
Only in xpad-4.0.my/po: hr.gmo
Only in xpad-4.0.my/po: hu.gmo
Only in xpad-4.0.my/po: .intltool-merge-cache
Only in xpad-4.0.my/po: it.gmo
Only in xpad-4.0.my/po: ja.gmo
Only in xpad-4.0.my/po: ko.gmo
Only in xpad-4.0.my/po: lv.gmo
Only in xpad-4.0.my/po: Makefile
Only in xpad-4.0.my/po: Makefile.in
Only in xpad-4.0.my/po: nl.gmo
Only in xpad-4.0.my/po: POTFILES
Only in xpad-4.0.my/po: pt.gmo
Only in xpad-4.0.my/po: ro.gmo
Only in xpad-4.0.my/po: ru.gmo
Only in xpad-4.0.my/po: rw.gmo
Only in xpad-4.0.my/po: stamp-it
Only in xpad-4.0.my/po: sv.gmo
Only in xpad-4.0.my/po: th.gmo
Only in xpad-4.0.my/po: tr.gmo
Only in xpad-4.0.my/po: vi.gmo
Only in xpad-4.0.my/po: zh_CN.gmo
Only in xpad-4.0.my/po: zh_TW.gmo
Only in xpad-4.0.my/src: .deps
Only in xpad-4.0.my/src: fio.o
Only in xpad-4.0.my/src: help.o
Only in xpad-4.0.my/src: Makefile
Only in xpad-4.0.my/src: prefix.o
Only in xpad-4.0.my/src: xpad
Only in xpad-4.0.my/src: xpad-app.o
Only in xpad-4.0.my/src: xpad-grip-tool-item.o
diff -wbBur xpad-4.0/src/xpad-pad.c xpad-4.0.my/src/xpad-pad.c
--- xpad-4.0/src/xpad-pad.c	2009-05-11 01:44:09.000000000 +0000
+++ xpad-4.0.my/src/xpad-pad.c	2010-04-12 15:25:24.000000000 +0000
@@ -268,18 +268,22 @@
 		NULL));
 	gtk_container_child_set (GTK_CONTAINER (vbox), pad->priv->toolbar, "expand", FALSE, NULL);
 	
-	g_object_set (G_OBJECT (pad),
-		"decorated", xpad_settings_get_has_decorations (xpad_settings ()),
-		"default-height", xpad_settings_get_height (xpad_settings ()),
-		"default-width", xpad_settings_get_width (xpad_settings ()),
-		"gravity", GDK_GRAVITY_STATIC, /* static gravity makes saving pad x,y work */
-		"skip-pager-hint", !xpad_settings_get_has_decorations (xpad_settings ()),
-		"skip-taskbar-hint", !xpad_settings_get_has_decorations (xpad_settings ()),
-		"type", GTK_WINDOW_TOPLEVEL,
-		"type-hint", GDK_WINDOW_TYPE_HINT_NORMAL,
-		"window-position", GTK_WIN_POS_MOUSE,
-		"child", vbox,
-		NULL);
+//	g_object_set (G_OBJECT (pad),
+//		"default-height", xpad_settings_get_height (xpad_settings ()),
+//		"default-width", xpad_settings_get_width (xpad_settings ()),
+//		"gravity", GDK_GRAVITY_STATIC, /* static gravity makes saving pad x,y work */
+//		"skip-pager-hint", !xpad_settings_get_has_decorations (xpad_settings ()),
+//		"skip-taskbar-hint", !xpad_settings_get_has_decorations (xpad_settings ()),
+//		"type", GTK_WINDOW_TOPLEVEL,
+//		"window-position", GTK_WIN_POS_MOUSE,
+//		"child", vbox,
+//		NULL);
+
+	gtk_window_set_type_hint (GTK_WINDOW (pad), GDK_WINDOW_TYPE_HINT_NORMAL);
+	gtk_window_set_decorated (GTK_WINDOW (pad), xpad_settings_get_has_decorations (xpad_settings ()));
+	gtk_window_set_resizable (GTK_WINDOW (pad), TRUE);
+	gtk_container_add (GTK_CONTAINER (pad), vbox);
+
 	
 	xpad_pad_notify_has_scrollbar (pad);
 	
Only in xpad-4.0.my/src: xpad-pad-group.o
Only in xpad-4.0.my/src: xpad-pad.o
Only in xpad-4.0.my/src: xpad-pad-properties.o
Only in xpad-4.0.my/src: xpad-preferences.o
Only in xpad-4.0.my/src: xpad-session-manager.o
Only in xpad-4.0.my/src: xpad-settings.o
Only in xpad-4.0.my/src: xpad-text-buffer.o
Only in xpad-4.0.my/src: xpad-text-view.o
Only in xpad-4.0.my/src: xpad-toolbar.o
Only in xpad-4.0.my/src: xpad-tray.o
Only in xpad-4.0.my: stamp-h1