Bastien Nocera
e3bbc6eedb
background: use symbolic name for columns
...
Rather than hard-code numbers.
2010-09-21 16:08:53 +01:00
Bastien Nocera
a205fc79b4
default-apps: Fix illegal memory access
...
gnome_da_xml_free() frees priv->capplet, so we shouldn't be
accessing it afterwards.
2010-09-21 15:22:43 +01:00
Bastien Nocera
720065c183
default-apps: Fix run-time warning with newer GTK+
2010-09-21 15:15:43 +01:00
Bastien Nocera
c1ebfb8ce9
datetime: Make map visible again
2010-09-21 14:31:31 +01:00
Bastien Nocera
7fa7ed9c8d
datetime: make s/_/ / simpler
...
By using the same code as in the main panel code.
2010-09-21 14:05:48 +01:00
Bastien Nocera
573179ce11
datetime: Make sorting cities store faster
...
By sorting the filtered version, rather than the original and
then hiding items.
2010-09-21 11:55:00 +01:00
Bastien Nocera
a3b899160d
datetime: Check the retval of GtkBuilder function
...
And don't just check the error itself.
2010-09-21 11:04:11 +01:00
Bastien Nocera
1bac073929
datetime: Fix compile-time warning
2010-09-20 18:21:03 +01:00
Bastien Nocera
d1e7dad2df
keybindings: Fix a few more compilation warnings
2010-09-20 18:19:19 +01:00
Bastien Nocera
98c95e857d
keybindings: Fix some compile-time warnings
...
Including missing function declaration and deprecated GDK_DISPLAY use.
2010-09-20 18:16:10 +01:00
Bastien Nocera
892e513996
network: Fix compile-time warning
...
gnome-network-properties.c:667:22: warning: pointer of type ‘void *’ used in arithmetic
gnome-network-properties.c:667:46: warning: pointer of type ‘void *’ used in arithmetic
2010-09-20 18:12:09 +01:00
Bastien Nocera
d863154fcb
keyboard: Fix compile-time warnings
...
Including an undeclared function, and deprecated use of GDK_DISPLAY.
2010-09-20 18:09:52 +01:00
Bastien Nocera
383882a4c5
mouse: Fix compile-time warnings
...
Including missing declarations, and deprecated use of GDK_DISPLAY.
2010-09-20 18:06:41 +01:00
Bastien Nocera
4a95303baa
mouse: Fix warning about missing declaration
2010-09-20 18:02:36 +01:00
Bastien Nocera
7854262a93
background: add FIXME for unused function
2010-09-20 18:01:27 +01:00
Bastien Nocera
2db5695c9f
background: remove unused variables
2010-09-20 18:00:19 +01:00
Bastien Nocera
6e7b3774c0
Only link the panels that require it to gnome-desktop
...
Only the display and background panels use gnome-desktop,
the shell shouldn't need to require it.
2010-09-20 17:56:23 +01:00
Vincent Untz
d54d9de857
display: Add missing include to fix build
2010-09-18 12:25:06 +02:00
Kalev Lember
4859ae9b30
bgo#629299 - Prefix key constants with _KEY
...
In GTK+ 3 key constants have gained _KEY prefix.
2010-09-10 15:00:13 -05:00
Kalev Lember
cd8a0ecbe2
bgo#629299 - Use gdk_display_get_default instead of GDK_DISPLAY
...
GDK_DISPLAY() was deprecated in GTK+ 2.22 and removed in GTK+ 3.
2010-09-10 14:59:42 -05:00
Kalev Lember
bfb92ffe9b
bgo#627861 - [randr] Don't silengly ignore errors when pkexec(1) fails
...
Now we present a proper error dialog if the 'Make Default' configuration
cannot be set due to a pkexec error.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-09-10 14:46:29 -05:00
Bastien Nocera
eb1e75ec6e
display: Generate marshal files properly
...
Instead of having generated files in the repo.
2010-09-10 11:56:09 +01:00
Gabriel Burt
110010bb65
bnc#600599 - [randr] Label to warn that 'Same image in all monitors' may limit the resolution options
...
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-09-09 14:46:00 -05:00
Thomas Wood
ce8cd97754
background: implement new UI design from Jakub Steiner
2010-08-25 19:18:05 +01:00
Benjamin Otte
c1b95ff43f
display: Copy background setter code from mutter
...
This code uses the new GDK API to set the window background.
https://bugzilla.gnome.org/show_bug.cgi?id=626870
2010-08-21 04:07:22 +02:00
Benjamin Otte
7ea3249a4a
Replace Gdk drawing with Cairo
...
https://bugzilla.gnome.org/show_bug.cgi?id=626870
2010-08-20 21:38:00 +02:00
Thomas Wood
f41e3268df
background: hide the placement options only when a background is selected
...
Only update the visibility of the placement options when a background is
selected, not when the source is selected.
2010-08-13 17:06:19 +01:00
Thomas Wood
93042f0835
background: prefix the cache filename to avoid conflicts
2010-08-13 17:06:19 +01:00
Thomas Wood
1c05309906
keybindings: ensure the keybindings panel is build with the correct flags
...
Add PANEL_CFLAGS, PANEL_LIBS and PANEL_LDFLAGS to libkeybinding-properties.
2010-08-13 14:47:33 +01:00
Thomas Wood
2b56a5ea0f
background: fix various leaks
...
Fix various leaks found by valgrind.
2010-08-12 15:12:04 +01:00
Thomas Wood
1418445e13
background: ensure the panel object is still valid when file copy finishes
...
Take a reference on the panel object when the asynchronous copy is started
so that it is still valid in the callback when the panel is being
destroyed.
2010-08-12 15:12:04 +01:00
Thomas Wood
764f69e852
background: make sure the GnomeWPItems are freed.
...
Free the GnomeWPItems in the source liststore when the source is destroyed.
2010-08-12 15:12:04 +01:00
Thomas Wood
abdb42e9e2
background: derive background sources from a common source object
...
Add the BgSource object to define the common aspects of background sources
and make sure the existing sources inherit from it.
2010-08-10 17:01:15 +01:00
Thomas Wood
ef9afe4830
Update gitignore
2010-08-10 15:29:31 +01:00
Thomas Wood
e721f417ad
Add initial implementation of "background" panel
...
The background settings panel provides a way for users to change the
desktop background by selecting an image and/or colour.
2010-08-10 15:26:07 +01:00
Thomas Wood
b760bf312c
datetime: ensure the panel does not need the shell to resize horizontally
...
Reduce the width and height required for the timezone map so that the
panel fits into the shell window without needing it to resize
horizontally.
2010-07-22 17:50:00 +01:00
Thomas Wood
f5c0b73214
panels: Use gi18n-lib.h in the panel libraries
2010-07-22 16:56:27 +01:00
Bastien Nocera
016b81dee8
Fix compile-time warning
...
cc-default-applications-panel.c: In function ‘cc_default_applications_panel_dispose’:
cc-default-applications-panel.c:73:7: warning: implicit declaration of function ‘gnome_da_xml_free’
cc-default-applications-panel.c:73:7: warning: nested extern declaration of ‘gnome_da_xml_free’
2010-07-22 15:58:22 +01:00
Bastien Nocera
b8e36d5658
Fix possible crasher when theme changes
...
When the theme or screen changes, we need to make sure that
the previous handler for the theme-changed signal is disconnected
to avoid the callback being called when the panel has been unloaded.
https://bugzilla.redhat.com/show_bug.cgi?id=610289
2010-07-22 15:56:26 +01:00
Colin Walters
576f3895f7
[display] Needs to be linked against dbus-glib
...
Would be a lot better to port this to GDBus, but in the
interest of correctness we should do this fix now.
2010-07-20 17:23:45 -04:00
Thomas Wood
20a5421543
datetime: fix various memory leaks
...
- Add a function to free the timezone database
- Use setenv rather than putenv
- Add various missing free() calls
2010-07-16 13:53:34 +01:00
Thomas Wood
939fb9c16a
datetime: add region and city comboboxes
...
Add region and city comboboxes to allow the user to select the timezone
without using the map.
2010-07-15 17:33:28 +01:00
Thomas Wood
93cd5dae5e
datetime: Draw a label to indicate the current location
...
Draw a label on the timezone map to indicate the name and position of the
current location.
2010-07-14 17:29:06 +01:00
Thomas Wood
844a957ade
display: hide and unref the screen label when destroyed
...
Make sure the screen label is not left visible after the panel has been
destroyed.
2010-07-12 18:42:36 +01:00
Thomas Wood
eb52e24f6c
Add icons for the Date and Time settings panel
...
Add icons drawn by Lapo Calamandrei <calamandrei@gmail.com>
2010-07-12 15:33:02 +01:00
Thomas Wood
9089857a89
Completely remove dependency on capplets/common directory
...
The capplets directory is no longer built or distributed, so the panels
cannot depend on files in it.
2010-07-12 10:39:09 +01:00
Thomas Wood
a582fd4d75
datetime: remove "seconds" spin button
...
It is not necessary to be able to set the "seconds" of the current time.
Resetting the seconds to zero is appropriate for most users.
2010-07-07 22:45:05 +01:00
Thomas Wood
40232421bf
universal-access: add size groups to the lists of objects to create
...
Create the size groups from the GtkBuilder file so that widgets can be
aligned correctly.
2010-07-06 17:21:00 +01:00
Thomas Wood
59920f88a0
display: replace the use of GdkRegion with cairo_region_t
...
GdkRegion has been removed in Gtk+ 3 and replaced with cairo_region_t.
2010-07-05 17:57:24 +01:00
Javier Jardón
a5b092326d
Use single GDK includes
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=615292
2010-07-05 15:03:32 +01:00