]>
Commit | Line | Data |
---|---|---|
4fe84eee MK |
1 | diff -Nuard control-center-2.4.0.orig/capplets/windows/gnome-window-properties.c control-center-2.4.0/capplets/windows/gnome-window-properties.c |
2 | --- control-center-2.4.0.orig/capplets/windows/gnome-window-properties.c 2003-05-01 07:32:13.000000000 +0200 | |
3 | +++ control-center-2.4.0/capplets/windows/gnome-window-properties.c 2003-12-04 23:09:55.000000000 +0100 | |
dd4ac8a3 | 4 | @@ -47,6 +47,7 @@ |
4fe84eee MK |
5 | static GnomeWindowManager *current_wm; /* may be NULL */ |
6 | static GtkWidget *dialog_win; | |
4fe84eee | 7 | static GtkWidget *focus_mode_checkbutton; |
dd4ac8a3 | 8 | +static GtkWidget *reduced_mode_checkbutton; |
4fe84eee MK |
9 | static GtkWidget *autoraise_checkbutton; |
10 | static GtkWidget *autoraise_delay_slider; | |
dd4ac8a3 MK |
11 | static GtkWidget *autoraise_delay_hbox; |
12 | @@ -62,6 +63,11 @@ | |
13 | static int n_mouse_modifiers = 0; | |
4fe84eee | 14 | |
dd4ac8a3 | 15 | static void reload_mouse_modifiers (void); |
4fe84eee MK |
16 | +reduced_mode_toggled_callback (GtkWidget *button, void *data) |
17 | +{ | |
18 | + gconf_client_set_bool (gconf_client, "/apps/metacity/general/reduced_resources", | |
19 | + gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)), NULL); | |
20 | +} | |
4fe84eee MK |
21 | |
22 | static void | |
dd4ac8a3 MK |
23 | mouse_focus_toggled_callback (GtkWidget *button, |
24 | @@ -278,6 +284,10 @@ | |
4fe84eee MK |
25 | |
26 | init_settings_struct (&new_settings); | |
27 | ||
dd4ac8a3 | 28 | + |
4fe84eee MK |
29 | + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (reduced_mode_checkbutton), |
30 | + gconf_client_get_bool (gconf_client, "/apps/metacity/general/reduced_resources",NULL)); | |
dd4ac8a3 MK |
31 | + |
32 | if (new_settings.focus_follows_mouse != settings->focus_follows_mouse) | |
4fe84eee MK |
33 | gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (focus_mode_checkbutton), |
34 | new_settings.focus_follows_mouse); | |
dd4ac8a3 | 35 | @@ -452,6 +462,7 @@ |
4fe84eee MK |
36 | } |
37 | ||
38 | dialog_win = WID ("main-dialog"); | |
39 | + reduced_mode_checkbutton = WID ("reduced-mode-checkbutton"); | |
40 | focus_mode_checkbutton = WID ("focus-mode-checkbutton"); | |
41 | autoraise_checkbutton = WID ("autoraise-checkbutton"); | |
42 | autoraise_delay_slider = WID ("autoraise-delay-slider"); | |
dd4ac8a3 | 43 | @@ -494,6 +505,8 @@ |
4fe84eee MK |
44 | g_signal_connect (G_OBJECT (dialog_win), "destroy", |
45 | G_CALLBACK (gtk_main_quit), NULL); | |
46 | ||
47 | + g_signal_connect (G_OBJECT (reduced_mode_checkbutton), "toggled", | |
48 | + G_CALLBACK (reduced_mode_toggled_callback), NULL); | |
49 | ||
50 | g_signal_connect (G_OBJECT (focus_mode_checkbutton), "toggled", | |
51 | G_CALLBACK (mouse_focus_toggled_callback), NULL); | |
52 | diff -Nuard control-center-2.4.0.orig/capplets/windows/gnome-window-properties.glade control-center-2.4.0/capplets/windows/gnome-window-properties.glade | |
53 | --- control-center-2.4.0.orig/capplets/windows/gnome-window-properties.glade 2003-08-04 17:33:23.000000000 +0200 | |
54 | +++ control-center-2.4.0/capplets/windows/gnome-window-properties.glade 2003-12-04 21:06:38.000000000 +0100 | |
dd4ac8a3 MK |
55 | @@ -12,6 +12,11 @@ |
56 | <property name="modal">False</property> | |
57 | <property name="resizable">False</property> | |
58 | <property name="destroy_with_parent">False</property> | |
59 | + <property name="decorated">True</property> | |
60 | + <property name="skip_taskbar_hint">False</property> | |
61 | + <property name="skip_pager_hint">False</property> | |
62 | + <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> | |
63 | + <property name="gravity">GDK_GRAVITY_NORTH_WEST</property> | |
64 | <property name="has_separator">False</property> | |
4fe84eee | 65 | |
dd4ac8a3 MK |
66 | <child internal-child="vbox"> |
67 | @@ -33,6 +38,7 @@ | |
68 | <property name="label">gtk-help</property> | |
69 | <property name="use_stock">True</property> | |
70 | <property name="relief">GTK_RELIEF_NORMAL</property> | |
71 | + <property name="focus_on_click">True</property> | |
72 | <property name="response_id">-11</property> | |
73 | </widget> | |
74 | </child> | |
75 | @@ -46,6 +52,7 @@ | |
76 | <property name="label">gtk-close</property> | |
77 | <property name="use_stock">True</property> | |
78 | <property name="relief">GTK_RELIEF_NORMAL</property> | |
79 | + <property name="focus_on_click">True</property> | |
80 | <property name="response_id">-7</property> | |
81 | </widget> | |
82 | </child> | |
83 | @@ -111,6 +118,7 @@ | |
84 | <property name="label" translatable="yes">_Select windows when the mouse moves over them</property> | |
85 | <property name="use_underline">True</property> | |
86 | <property name="relief">GTK_RELIEF_NORMAL</property> | |
87 | + <property name="focus_on_click">True</property> | |
88 | <property name="active">False</property> | |
89 | <property name="inconsistent">False</property> | |
90 | <property name="draw_indicator">True</property> | |
91 | @@ -141,6 +149,7 @@ | |
92 | <property name="label" translatable="yes">_Raise selected windows after an interval</property> | |
93 | <property name="use_underline">True</property> | |
94 | <property name="relief">GTK_RELIEF_NORMAL</property> | |
95 | + <property name="focus_on_click">True</property> | |
96 | <property name="active">False</property> | |
97 | <property name="inconsistent">False</property> | |
98 | <property name="draw_indicator">True</property> | |
99 | @@ -200,8 +209,8 @@ | |
100 | <property name="inverted">False</property> | |
101 | <property name="adjustment">7.7 0 10 0.2 1 0</property> | |
102 | <accessibility> | |
103 | - <atkrelation target="autoraise-delay-label" type="labelled-by"/> | |
104 | - <atkrelation target="label1" type="labelled-by"/> | |
105 | + <atkrelation target="label1" type="labelled-by"/> | |
106 | + <atkrelation target="autoraise-delay-label" type="labelled-by"/> | |
107 | </accessibility> | |
108 | </widget> | |
109 | <packing> | |
110 | @@ -225,7 +234,7 @@ | |
111 | <property name="xpad">4</property> | |
112 | <property name="ypad">0</property> | |
113 | <accessibility> | |
114 | - <atkrelation target="autoraise-delay-slider" type="label-for"/> | |
115 | + <atkrelation target="autoraise-delay-slider" type="label-for"/> | |
116 | </accessibility> | |
117 | </widget> | |
118 | <packing> | |
119 | @@ -285,6 +294,85 @@ | |
120 | </child> | |
4fe84eee | 121 | |
dd4ac8a3 MK |
122 | <child> |
123 | + <widget class="GtkVBox" id="vbox9"> | |
124 | + <property name="visible">True</property> | |
125 | + <property name="homogeneous">False</property> | |
126 | + <property name="spacing">12</property> | |
4fe84eee | 127 | + |
dd4ac8a3 MK |
128 | + <child> |
129 | + <widget class="GtkLabel" id="label6"> | |
130 | + <property name="visible">True</property> | |
131 | + <property name="label" translatable="yes"><b>Reduced Resources</b></property> | |
132 | + <property name="use_underline">False</property> | |
133 | + <property name="use_markup">True</property> | |
134 | + <property name="justify">GTK_JUSTIFY_LEFT</property> | |
135 | + <property name="wrap">False</property> | |
136 | + <property name="selectable">False</property> | |
137 | + <property name="xalign">0</property> | |
138 | + <property name="yalign">0.5</property> | |
139 | + <property name="xpad">0</property> | |
140 | + <property name="ypad">0</property> | |
141 | + </widget> | |
142 | + <packing> | |
143 | + <property name="padding">0</property> | |
144 | + <property name="expand">False</property> | |
145 | + <property name="fill">False</property> | |
146 | + </packing> | |
147 | + </child> | |
4fe84eee | 148 | + |
dd4ac8a3 MK |
149 | + <child> |
150 | + <widget class="GtkHBox" id="hbox16"> | |
151 | + <property name="visible">True</property> | |
152 | + <property name="homogeneous">False</property> | |
153 | + <property name="spacing">0</property> | |
4fe84eee MK |
154 | + |
155 | + <child> | |
dd4ac8a3 MK |
156 | + <widget class="GtkVBox" id="vbox10"> |
157 | + <property name="visible">True</property> | |
158 | + <property name="homogeneous">False</property> | |
159 | + <property name="spacing">12</property> | |
160 | + | |
161 | + <child> | |
4fe84eee | 162 | + <widget class="GtkCheckButton" id="reduced-mode-checkbutton"> |
dd4ac8a3 | 163 | + <property name="visible">True</property> |
4fe84eee MK |
164 | + <property name="can_focus">True</property> |
165 | + <property name="label" translatable="yes">_Use wireframe move/resize</property> | |
166 | + <property name="use_underline">True</property> | |
167 | + <property name="relief">GTK_RELIEF_NORMAL</property> | |
dd4ac8a3 | 168 | + <property name="focus_on_click">True</property> |
4fe84eee MK |
169 | + <property name="active">False</property> |
170 | + <property name="inconsistent">False</property> | |
171 | + <property name="draw_indicator">True</property> | |
dd4ac8a3 MK |
172 | + </widget> |
173 | + <packing> | |
174 | + <property name="padding">0</property> | |
175 | + <property name="expand">False</property> | |
176 | + <property name="fill">False</property> | |
177 | + </packing> | |
178 | + </child> | |
179 | + </widget> | |
180 | + <packing> | |
181 | + <property name="padding">18</property> | |
182 | + <property name="expand">True</property> | |
183 | + <property name="fill">True</property> | |
184 | + </packing> | |
185 | + </child> | |
186 | + </widget> | |
187 | + <packing> | |
188 | + <property name="padding">0</property> | |
189 | + <property name="expand">True</property> | |
190 | + <property name="fill">True</property> | |
191 | + </packing> | |
192 | + </child> | |
193 | + </widget> | |
194 | + <packing> | |
195 | + <property name="padding">0</property> | |
196 | + <property name="expand">True</property> | |
197 | + <property name="fill">True</property> | |
198 | + </packing> | |
199 | + </child> | |
200 | + | |
201 | + <child> | |
202 | <widget class="GtkVBox" id="vbox5"> | |
203 | <property name="visible">True</property> | |
204 | <property name="homogeneous">False</property> | |
695f4688 MK |
205 | diff -Nuard control-center-2.4.0.orig/po/pl.po control-center-2.4.0/po/pl.po |
206 | --- control-center-2.4.0.orig/po/pl.po 2003-09-02 21:34:47.000000000 +0200 | |
207 | +++ control-center-2.4.0/po/pl.po 2003-12-05 00:33:08.050106696 +0100 | |
dd4ac8a3 | 208 | @@ -2420,6 +2420,14 @@ |
695f4688 MK |
209 | msgid "_Select windows when the mouse moves over them" |
210 | msgstr "_Zaznaczanie okna po umieszczeniu wskaźnika nad jego obszarem" | |
211 | ||
dfd2082c | 212 | +#: ../capplets/windows/gnome-window-properties.glade.h:7 |
dd4ac8a3 | 213 | +msgid "<b>Reduced Resources</b>" |
e3bccded | 214 | +msgstr "<b>Zredukowane zasoby</b>" |
dd4ac8a3 | 215 | + |
dfd2082c | 216 | +#: ../capplets/windows/gnome-window-properties.glade.h:7 |
695f4688 | 217 | +msgid "_Use wireframe move/resize" |
e3bccded | 218 | +msgstr "_Ramka podczas przenoszenia/skalowania okna" |
695f4688 | 219 | + |
dfd2082c | 220 | #: ../capplets/windows/window-properties.desktop.in.in.h:1 |
221 | msgid "Set your window properties" | |
222 | msgstr "Konfiguruje ustawienia okien" |