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
5 static GnomeWindowManager *current_wm; /* may be NULL */
6 static GtkWidget *dialog_win;
7 static GtkWidget *focus_mode_checkbutton;
8 +static GtkWidget *reduced_mode_checkbutton;
9 static GtkWidget *autoraise_checkbutton;
10 static GtkWidget *autoraise_delay_slider;
11 static GtkWidget *autoraise_delay_hbox;
13 static int n_mouse_modifiers = 0;
15 static void reload_mouse_modifiers (void);
16 +reduced_mode_toggled_callback (GtkWidget *button, void *data)
18 + gconf_client_set_bool (gconf_client, "/apps/metacity/general/reduced_resources",
19 + gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)), NULL);
23 mouse_focus_toggled_callback (GtkWidget *button,
26 init_settings_struct (&new_settings);
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));
32 if (new_settings.focus_follows_mouse != settings->focus_follows_mouse)
33 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (focus_mode_checkbutton),
34 new_settings.focus_follows_mouse);
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");
44 g_signal_connect (G_OBJECT (dialog_win), "destroy",
45 G_CALLBACK (gtk_main_quit), NULL);
47 + g_signal_connect (G_OBJECT (reduced_mode_checkbutton), "toggled",
48 + G_CALLBACK (reduced_mode_toggled_callback), NULL);
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
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>
66 <child internal-child="vbox">
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>
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>
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>
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>
100 <property name="inverted">False</property>
101 <property name="adjustment">7.7 0 10 0.2 1 0</property>
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"/>
111 <property name="xpad">4</property>
112 <property name="ypad">0</property>
114 - <atkrelation target="autoraise-delay-slider" type="label-for"/>
115 + <atkrelation target="autoraise-delay-slider" type="label-for"/>
123 + <widget class="GtkVBox" id="vbox9">
124 + <property name="visible">True</property>
125 + <property name="homogeneous">False</property>
126 + <property name="spacing">12</property>
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>
143 + <property name="padding">0</property>
144 + <property name="expand">False</property>
145 + <property name="fill">False</property>
150 + <widget class="GtkHBox" id="hbox16">
151 + <property name="visible">True</property>
152 + <property name="homogeneous">False</property>
153 + <property name="spacing">0</property>
156 + <widget class="GtkVBox" id="vbox10">
157 + <property name="visible">True</property>
158 + <property name="homogeneous">False</property>
159 + <property name="spacing">12</property>
162 + <widget class="GtkCheckButton" id="reduced-mode-checkbutton">
163 + <property name="visible">True</property>
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>
168 + <property name="focus_on_click">True</property>
169 + <property name="active">False</property>
170 + <property name="inconsistent">False</property>
171 + <property name="draw_indicator">True</property>
174 + <property name="padding">0</property>
175 + <property name="expand">False</property>
176 + <property name="fill">False</property>
181 + <property name="padding">18</property>
182 + <property name="expand">True</property>
183 + <property name="fill">True</property>
188 + <property name="padding">0</property>
189 + <property name="expand">True</property>
190 + <property name="fill">True</property>
195 + <property name="padding">0</property>
196 + <property name="expand">True</property>
197 + <property name="fill">True</property>
202 <widget class="GtkVBox" id="vbox5">
203 <property name="visible">True</property>
204 <property name="homogeneous">False</property>
205 diff -Nuard control-center-2.4.0.orig/po/control-center-2.0.pot control-center-2.4.0/po/control-center-2.0.pot
206 --- control-center-2.4.0.orig/po/control-center-2.0.pot 2003-08-27 21:02:41.000000000 +0200
207 +++ control-center-2.4.0/po/control-center-2.0.pot 2003-12-05 00:31:19.744571640 +0100
208 @@ -2305,6 +2305,14 @@
209 msgid "_Select windows when the mouse moves over them"
212 +#: capplets/windows/gnome-window-properties.glade.h:7
213 +msgid "<b>Reduced Resources</b>"
216 +#: capplets/windows/gnome-window-properties.glade.h:7
217 +msgid "_Use wireframe move/resize"
220 #: capplets/windows/window-properties.desktop.in.h:1
221 msgid "Window Properties"
223 diff -Nuard control-center-2.4.0.orig/po/pl.po control-center-2.4.0/po/pl.po
224 --- control-center-2.4.0.orig/po/pl.po 2003-09-02 21:34:47.000000000 +0200
225 +++ control-center-2.4.0/po/pl.po 2003-12-05 00:33:08.050106696 +0100
226 @@ -2420,6 +2420,14 @@
227 msgid "_Select windows when the mouse moves over them"
228 msgstr "_Zaznaczanie okna po umieszczeniu wskaźnika nad jego obszarem"
230 +#: capplets/windows/gnome-window-properties.glade.h:7
231 +msgid "<b>Reduced Resources</b>"
232 +msgstr "<b>Zredukowane zasoby</b>"
234 +#: capplets/windows/gnome-window-properties.glade.h:7
235 +msgid "_Use wireframe move/resize"
236 +msgstr "_Ramka podczas przenoszenia/skalowania okna"
238 #: capplets/windows/window-properties.desktop.in.h:1
239 msgid "Window Properties"
240 msgstr "Ustawienia okien"