1
2009-05-06 Federico Mena Quintero <federico@novell.com>
3
* xrandr-capplet.c (rebuild_current_monitor_label): Make the label
4
of the heading for the current monitor be explicitly black. We
5
don't want to follow the theme's colors, as the label is always
6
shown against a light pastel background --- using the theme's
7
colors makes the label hard to read on "inverse" themes. Fixes
8
the gnome-control-center part of bug #556050.
10
2009-04-11 Matthias Clasen <mclasen@redhat.com>
12
* display-capplet.glade: Make all mnemonics work. (#578572)
14
2009-03-30 Federico Mena Quintero <federico@novell.com>
16
* xrandr-capplet.c (ensure_current_configuration_is_saved): Save
17
monitors.xml with the current configuration before changing it, so
18
that we'll have something to go back to even on a first-time login
19
(when monitors.xml doesn't exist).
21
2009-03-20 Federico Mena Quintero <federico@novell.com>
23
* xrandr-capplet.c (begin_version2_apply_configuration): There is no need
24
to check the result of dbus_g_proxy_new_for_name(); it can't fail.
25
(begin_version1_apply_configuration): Likewise.
26
(apply_configuration_returned_cb): Fix a potential leak of the
27
proxy in the error case.
28
(apply): Simplify a bit, now that the initial call to
29
begin_version2_apply_configuration() can't fail.
31
2009-03-19 Federico Mena Quintero <federico@novell.com>
33
http://bugzilla.gnome.org/show_bug.cgi?id=576006 - The
34
confirmation dialog from the RANDR plugin can appear behind the
35
window from gnome-display-properties. This also depends on a
36
change to gnome-settings-daemon, although it will work with older
39
* xrandr-capplet.c (apply): Call the new DBus API for
40
ApplyConfiguration in org.gnome.SettingsDaemon.XRANDR_2, or the
41
old one if that fails.
42
(begin_version2_apply_configuration): New helper function; calls
44
(begin_version1_apply_configuration): New helper function; calls
46
(apply_configuration_returned_cb): If the new API is not
47
available, try the old one. This makes us compatible with older
48
versions of gnome-settings-daemon.
49
(error_message): Allow a NULL secondary_text.
51
2009-03-11 Federico Mena Quintero <federico@novell.com>
53
http://bugzilla.gnome.org/show_bug.cgi?id=574865 - Crash when
54
refreshing the RANDR configuration.
56
* xrandr-capplet.c (select_current_output_from_dialog_position):
57
Always set app->current_output; otherwise we could be left with a
58
dangling pointer to the old current_output (which is invalid after
59
refreshing the current_configuration).
60
(on_screen_changed): Null out the current_output when we get a new
61
RANDR configuration, as it will become obsolete as soon as we free
62
the old configuration.
64
2009-03-11 Gabor Kelemen <kelemeng@gnome.hu>
66
* xrandr-capplet.c: Make the strings of the Rotation dialog appear
67
translated. Bug #574693.
69
==================== 2.25.92 ====================
71
2009-02-21 Jens Granseuer <jensgr@gmx.net>
73
* xrandr-capplet.c: (error_message): GTK_DIALOG_NO_SEPARATOR cannot be
74
used with GtkMessageDialog
76
2009-02-19 Federico Mena Quintero <federico@novell.com>
78
* xrandr-capplet.c (paint_output): Make "on" monitors have black
79
text, to be consistent with GnomeRRLabeler's little labels.
81
2009-02-08 Jens Granseuer <jensgr@gmx.net>
83
* display-capplet.glade:
84
* display-properties.desktop.in.in: change window title and menu entry
85
name to "Display"/"Display Preferences" to be consistent with other
86
settings dialogs (bug #570907)
88
2009-02-05 Federico Mena Quintero <federico@novell.com>
90
https://bugzilla.novell.com/show_bug.cgi?id=472226 - Don't block
91
the display capplet's GUI while changing the RANDR configuration.
93
* xrandr-capplet.c (struct App): Move the D-bus fields into here,
95
(apply): Use an async D-bus call to gnome-settings-daemon so we
96
don't block the GUI. Keep the GUI desensitized while the call is
99
2009-02-04 Federico Mena Quintero <federico@novell.com>
101
https://bugzilla.novell.com/show_bug.cgi?id=434729 - Realign the
102
outputs when changing the resolution of one of them, so one
103
doesn't get overlapping monitors (when the resolution becomes
104
bigger) or disjoint monitors (when the resolution becomes smaller).
106
* xrandr-capplet.c (on_resolution_changed): Align the monitors.
107
(realign_outputs_after_resolution_change): New function. The
108
algorithm here could certainly be improved...
110
==================== 2.25.90 ====================
112
2009-01-26 Jens Granseuer <jensgr@gmx.net>
114
* xrandr-capplet.c: (rebuild_rate_combo),
115
(rebuild_resolution_combo): don't crash if we don't have an output
118
2008-12-18 Federico Mena Quintero <federico@novell.com>
120
* xrandr-capplet.c (get_output_for_window): Include "off" outputs
121
in the intersected rectangles. This makes the capplet not select
122
a new output when changing virtual desktops.
124
2008-12-18 Federico Mena Quintero <federico@novell.com>
126
https://bugzilla.novell.com/show_bug.cgi?id=433939 - It's not
127
obvious how to turn on a new monitor.
129
* display-capplet.glade: Add On/Off radio buttons for the selected
130
monitor, as it is hard to find that the on/off state is actually
131
set by the Resolution combo.
133
* xrandr-capplet.c (rebuild_gui): Don't set sensitivity of
134
resolution_combo here...
135
(rebuild_resolution_combo): ... but do it here instead. This is
136
so that we can match the state of the monitor on/off buttons.
137
(rebuild_on_off_radios): New function. We set the on/off radio
138
buttons based on the "on" state of the current output.
139
(monitor_on_off_toggled_cb): New callback; we toggle the current
140
output's on/off state.
141
(rebuild_resolution_combo): Desensitize the resolution combo when
142
the output is off. Don't add an "Off" item to it, either.
144
2008-12-18 Federico Mena Quintero <federico@novell.com>
146
* xrandr-capplet.c (select_current_output_from_dialog_position):
147
Fix the type of the "output" variable.
149
==================== 2.25.3 ====================
151
2008-12-16 Federico Mena Quintero <federico@novell.com>
153
https://bugzilla.novell.com/show_bug.cgi?id=450141 - Help button
154
in the Display capplet does nothing.
156
* xrandr-capplet.c (run_application): Hide the Help button as we
157
have no help to show for this capplet yet.
158
(hide_help_button): New function.
160
2008-12-16 Frederic Peters <fpeters@0d.be>
162
* xrandr-capplet.c: (select_current_output_from_dialog_position):
163
Declare variable, fix build.
165
2008-12-15 Federico Mena Quintero <federico@novell.com>
167
* xrandr-capplet.c (on_screen_changed): Use
168
select_current_output_from_dialog_position() instead of selecting
171
2008-12-15 Federico Mena Quintero <federico@novell.com>
173
* xrandr-capplet.c (select_current_output_from_dialog_position):
175
(dialog_map_event_cb): New GtkWidget::map-event handler for the
176
toplevel dialog. When the dialog gets mapped, we make the current
177
output be the one which actually contains the dialog window, so
178
that the user can edit the monitor which he's looking at.
180
2008-12-15 Federico Mena Quintero <federico@novell.com>
182
* display-capplet.glade: Put the "Monitor" label inside an event
183
box, so we can change the background color of the event box. Give
184
names to both widgets: current_monitor_label,
185
current_monitor_event_box.
187
* xrandr-capplet.c (rebuild_gui): When a monitor is selected,
188
update the "Monitor" label to include the monitor's name and color
189
so the user will know which monitor he is editing.
190
(rebuild_current_monitor_label): New function.
191
(struct App): New fields current_monitor_label,
192
current_monitor_event_box.
194
2008-12-12 Federico Mena Quintero <federico@novell.com>
196
https://bugzilla.novell.com/show_bug.cgi?id=381030 - Prettify the
197
Display capplet's dialog
199
* display-capplet.glade: Use the HIG's recommended colons,
200
capitalization, and spacing. Use headers to separate the Monitor
201
options from the Panel icon option. Add instructions on how to
202
operate the draggable monitors.
204
2008-12-12 Federico Mena Quintero <federico@novell.com>
206
* xrandr-capplet.c (on_clone_changed): If we turn off "mirror
207
screens", and if the monitors are still overlapping, lay out the
208
monitors from left to right so that the user will know that all
209
the monitors are present. Previously you had to know that you had
210
to un-overlap them by hand.
211
(lay_out_outputs_horizontally): New function.
213
2008-12-03 Federico Mena Quintero <federico@novell.com>
215
* xrandr-capplet.c (rebuild_rotation_combo): Pass a NULL error
216
argument to gnome_rr_config_applicable; we should really show why
217
that rotation is not available.
218
(apply): Use the new DBus interface from the XRANDR plugin in
219
g-s-d instead of an X client message. Display an error if g-s-d
220
couldn't apply the monitor configuration.
221
(gnome_randr_atom): Removed.
222
(on_detect_displays): Display an error if detecting the displays fails.
223
(run_application): Display error messages.
225
==================== 2.25.2 ====================
227
==================== 2.25.1 ====================
229
Wed Oct 8 21:20:21 2008 S?ren Sandmann <sandmann@redhat.com>
231
* scrollarea.c (foo_scroll_area_size_allocate): XOR the old and
232
the new regions instead of subtracting old from new. Fixes bug
233
551566, reported by Christian Persch.
235
Wed Oct 8 21:15:04 2008 S?ren Sandmann <sandmann@redhat.com>
237
* xrandr-capplet.c: Make use of new clone mode API in
240
2008-10-08 Christian Persch <chpe@gnome.org>
242
* display-capplet.glade: Correct some HIG problems.
243
* xrandr-capplet.c: (show_error), (add_key), (run_application):
244
Remove/#if 0 some unused code. Bug #551511.
246
2008-10-07 Jens Granseuer <jensgr@gmx.net>
248
* xrandr-capplet.c: (paint_output): fix preview orientation when using
249
left or right rotation. The XRandR coordinate system is rotated
250
counter-clockwise (bug #555241)
252
2008-09-26 Jens Granseuer <jensgr@gmx.net>
254
Patch by: Matt Keenan <matt.keenan@sun.com>
256
* xrandr-capplet.c: (show_error), (run_application): show an error
257
dialog instead of crashing when initialization fails due to XRandR
258
not being available (bug #553762)
260
==================== 2.24.0.1 ====================
262
2008-09-06 Jens Granseuer <jensgr@gmx.net>
264
Patch by: Bruce Cowan <bugs@bcowan.fastmail.co.uk>
266
* xrandr-capplet.c: (paint_background): use theme colours for the
267
background (bug #545117)
269
2008-08-20 Federico Mena Quintero <federico@novell.com>
271
* xrandr-capplet.c (get_display_name): Use "Mirror Screens"
272
instead of "Cloned Output" in the display of monitors, to be
273
consistent with the corresponding checkbox from the Glade file.
274
Fixes https://bugzilla.novell.com/show_bug.cgi?id=381027
276
2008-08-13 Federico Mena Quintero <federico@novell.com>
278
* xrandr-capplet.c (paint_output): Instead of using hard-coded
279
colors for the rectangles that represent the monitors, get the
280
colors from the GnomeRRLabeler.
282
2008-08-13 Federico Mena Quintero <federico@novell.com>
284
* xrandr-capplet.c (on_screen_changed): Create a GnomeRRLabeler
285
based on the current screen configuration, so that the physical
286
monitors will be labeled while the capplet is up.
287
(struct App): New field "labeler".
289
2008-08-11 Jens Granseuer <jensgr@gmx.net>
291
* xrandr-capplet.c: (run_application): fail gracefully if we cannot
294
2008-08-08 Jens Granseuer <jensgr@gmx.net>
296
* xrandr-capplet.c: (on_screen_changed), (rebuild_gui),
297
(print_edge), (on_output_event), (paint_output), (on_area_paint),
298
(check_required_virtual_size), (apply), (run_application): replace
299
all uses of g_print by g_debug
301
2008-08-08 Jens Granseuer <jensgr@gmx.net>
303
* xrandr-capplet.c: (run_application), (main): don't leak the
304
application or the GladeXML
306
Tue Aug 5 03:19:23 2008 S?ren Sandmann <sandmann@redhat.com>
308
* xrandr-capplet.c (paint_output): Draw rotated outputs rotated.
310
Tue Jul 29 01:35:31 2008 S?ren Sandmann <sandmann@redhat.com>
312
* xrandr-capplet.c: Add a check box to turn on and off display icon.
314
Tue Jul 15 18:48:43 2008 S?ren Sandmann <sandmann@redhat.com>
316
* xrandr-capplet.c: Don't allow dragging when there is only one
319
Thu Jul 10 14:46:37 2008 S?ren Sandmann <sandmann@redhat.com>
321
* main.c: Remove this obsolete file.
323
* xrandr-capplet.c: Remove debug spew; add translation.
325
* TODO: Various updates.
327
2008-06-18 Jens Granseuer <jensgr@gmx.net>
329
* scrollarea.h: fix cairo include
331
Tue Jun 17 19:51:03 2008 S?ren Sandmann <sandmann@redhat.com>
333
* Merge randr-12 to trunk
335
Tue Jun 17 18:29:46 2008 S?ren Sandmann <sandmann@redhat.com>
337
* Port to changes in gnome-desktop
339
2008-06-04 Federico Mena Quintero <federico@novell.com>
341
* xrandr-capplet.c (driver_is_randr_10): New function, currently
342
unused, to detect whether the graphics driver used in the X server
343
only supports the RANDR 1.0 API. We may find this information
344
useful to tell the user that not all the features in the capplet
345
will work as intended, or to actually disable features that won't work.
347
2008-05-29 Federico Mena Quintero <federico@novell.com>
349
* xrandr-capplet.c (apply): Before applying the settings, check if
350
the X server supports the Virtual size we need.
351
(check_required_virtual_size): New function; does the checking
352
against what the X server supports.
353
This still needs to present a friendly dialog box.
354
(compute_virtual_size_for_configuration): New function.
356
Wed May 14 18:16:10 2008 S?ren Sandmann <sandmann@redhat.com>
358
* xrandr-capplet.c: Add GNOME_DESKTOP_USE_UNSTABLE_API define
360
* scrollarea.[ch]: Add copyright statement
362
2008-05-14 Soren Sandmann Pedersen <sandmann@redhat.com>
364
* *: Check in new RandR 1.2 enabled capplet
366
==================== 2.23.2 ====================
368
2008-02-19 Jens Granseuer <jensgr@gmx.net>
370
* main.c: (create_dialog), (save_to_gconf): escape strange hostnames
371
that we want to use as GConf keys (see bug #517259 for a similar issue
372
in gnome-settings-daemon)
374
2007-10-28 Jens Granseuer <jensgr@gmx.net>
376
* main.c: (display_rotation_from_text), (create_rotate_menu): readd gettext
377
macro that accidentally got stripped
379
2007-10-28 Jens Granseuer <jensgr@gmx.net>
381
* main.c: (display_rotation_from_text), (get_current_resolution),
382
(get_current_rate), (get_current_rotation), (wrap_in_label),
383
(resolution_changed_callback), (generate_rate_menu),
384
(generate_resolution_menu), (initialize_combo_layout),
385
(create_rate_menu), (create_rotate_menu), (create_screen_widgets),
386
(create_dialog), (save_timeout_callback), (run_revert_dialog),
387
(save_to_gconf), (cb_dialog_response), (main): whitespace cleanup and a
390
2007-10-27 Jens Granseuer <jensgr@gmx.net>
392
* main.c: (free_display_info), (update_display_info),
393
(read_display_info), (apply_config), (revert_config): revert some of
394
the previous "clean-up", add some new, and fix another leak
396
2007-10-27 Jens Granseuer <jensgr@gmx.net>
398
* main.c: (run_revert_dialog), (main): fix string capitalization
400
2007-10-27 Jens Granseuer <jensgr@gmx.net>
402
* main.c: (free_display_info), (restart_screensaver),
403
(apply_config), (revert_config), (cb_dialog_response), (main): clean up
404
code a bit and fix a few leaks
406
2007-06-29 Jens Granseuer <jensgr@gmx.net>
408
* display-capplet.png: remove
411
* display-properties.desktop.in.in:
412
* icons/16x16/gnome-display-properties.png:
413
* icons/22x22/gnome-display-properties.png:
414
* icons/24x24/gnome-display-properties.png:
415
* icons/32x32/gnome-display-properties.png:
416
* icons/scalable/gnome-display-properties.svg:
417
* main.c: (create_dialog): add and use new icon by Jakub Steiner
418
<jimmac@ximian.com>. Closes bug #375230.
420
2007-06-26 Michael Terry <mike@mterry.name>
422
* Makefile.am, main.c, display-properties.desktop.in.in: Use
423
icon theme instead of global pixmaps dir for app icon. Closes
426
2007-06-16 Jens Granseuer <jensgr@gmx.net>
428
* main.c: (run_revert_dialog), (cb_dialog_response): don't make the
429
revert dialog transient since it's actually never on screen at the
430
same time as the main dialog. Closes bug #448160.
432
2007-05-22 Jens Granseuer <jensgr@gmx.net>
434
* main.c: (get_current_resolution): surivive XRandR returning weird
435
results for some dual-screen setups. This fixes the crash in bug
436
#356520, but a proper fix for handling this situation is still
437
necessary, unless this is just a driver/X bug...
439
2007-04-27 Rodrigo Moya <rodrigo@gnome-db.org>
441
* display-properties.desktop.in.in: renamed Bugzilla product.
443
2007-03-23 Jens Granseuer <jensgr@gmx.net>
445
* main.c: (show_resolution): add 720x576 (PAL) to the list of valid
446
resolutions. Closes bug #325548.
448
2007-03-21 Jens Granseuer <jensgr@gmx.net>
450
* main.c: uppercase the rotation options. Closes bug #410959.
452
2007-03-01 Jens Granseuer <jensgr@gmx.net>
454
* main.c: (create_dialog): fix double-free reported by Sandino
455
Flores-Moreno. Closes bug #413352.
457
2007-01-29 Kjartan Maraas <kmaraas@gnome.org>
459
* main.c: Mark a struct static.
461
2006-12-08 Kjartan Maraas <kmaraas@gnome.org>
463
* main.c: (wrap_in_label), (create_dialog):
464
Don't leak the resolution. Pass NULL to gtk_label_new
465
to do less work. Bug #376949.
467
2006-09-15 Brian Cameron <brian.cameron@sun.com>
471
* main.c (apply_config, revert_config): make sure we never pass
472
negative values for the rates.
474
2006-08-18 Rodrigo Moya <rodrigo@novell.com>
476
* main.c (create_dialog): free 'resolution' string after using it,
477
not before. Found by Kjartan Maraas <kmaraas@gnome.org>.
479
2006-08-07 Rodrigo Moya <rodrigo@novell.com>
483
* display-properties.desktop.in.in: Fixed GNOME Bugzilla fields.
485
2006-08-07 Sebastien Bacher <seb128@debian.org>
487
* main.c: (create_rotate_menu): fix build with gcc-2.95,
488
patch by Jens Granseuer <jensgr@gmx.net> (Closes: #347611)
490
2005-11-14 Kjartan Maraas <kmaraas@gnome.org>
492
* main.c: Mark some functions static.
494
2005-07-20 Rodrigo Moya <rodrigo@novell.com>
496
* main.c (get_screensaver_command): new function to get the correct
497
screensaver command to run.
498
(apply_config, revert_config): use gnome-screensaver if available.
500
2005-02-08 Sebastien Bacher <seb128@debian.org>
502
* main.c: (wrap_in_label):
503
patch by Kjartan Maraas <kmaraas@gnome.org>, some code cleanups
506
2004-11-09 Mark McLoughlin <mark@skynet.ie>
508
* Makefile.am: install .desktop file in $(datadir)/applications.
510
* display-properties.desktop.in: add OnlyShowIn=GNOME;
512
2004-10-14 Jody Goldberg <jody@gnome.org>
516
2004-06-10 David Sede?o <david@alderia.com>
518
http://bugzilla.gnome.org/show_bug.cgi?id=136483
519
* main.c (run_revert_dialog, cb_dialog_response) : Hide
520
the configuration dialog and center the confirmation one.
522
2004-06-09 David Sede?o <david@alderia.com>
524
http://bugzilla.gnome.org/show_bug.cgi?id=137579
525
* main.c (main) : Put title to the confirmation dialog box
527
2004-05-11 Jody Goldberg <jody@gnome.org>
529
From ruben@lambda1.be
530
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=140047
531
* main.c (main) : s/XServer/X Server/
532
and a patch to use g_signal_connect
534
2004-04-15 Jody Goldberg <jody@gnome.org>
538
2004-04-15 Jody Goldberg <jody@gnome.org>
541
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=119494
542
* main.c : fix reverting size change
544
2004-04-01 Jody Goldberg <jody@gnome.org>
548
2004-03-30 Jody Goldberg <jody@gnome.org>
552
2004-03-23 Jody Goldberg <jody@gnome.org>
556
2004-03-11 Jody Goldberg <jody@gnome.org>
560
2004-03-02 Fernando Herrera <fherrera@onirica.com>
562
http://bugzilla.gnome.org/show_bug.cgi?id=125315
563
* main.c: (cb_dialog_response): Point help to the right section
565
2004-03-02 Jody Goldberg <jody@gnome.org>
567
http://bugzilla.gnome.org/show_bug.cgi?id=135908
568
* main.c (apply_config) : restart the screensaver