Commit graph

2807 commits

Author SHA1 Message Date
Jens Granseuer
7a8972095a Use unique widget IDs (bug #592182) 2009-08-19 18:38:08 +02:00
Bastien Nocera
a250580a6b Port about-me to PolicyKit 1.0
Remove the polkit-gnome dependency. It's unlikely that admins
would require a password for the user to enroll themselves,
and we can't modify other users' fingerprints either.
2009-08-16 17:55:30 +01:00
Matthias Clasen
fb049f9490 Remove old code poking directly into the pwent
Use the glib functions to get the login name and real user name,
instead or some crummy Unix-y code.
2009-08-16 17:55:23 +01:00
Claude Paroz
c710e8dcf8 Attributes tag is not supported in GtkButtons. Fixes #591656 2009-08-14 18:46:22 +02:00
Christian Hergert
14b80a942d Make sure the underline in "Save _As..." is interpreted. 2009-08-11 18:18:39 +02:00
Jens Granseuer
5998aa90c0 Fix crash when iterating through the tree model
Don't use indices to move through iterators, don't skip the first
section, and verify that we got a new iterator before using it
(bug #591392).
2009-08-11 18:01:55 +02:00
Jens Granseuer
af6a49348c Fix compiler warnings
theme-thumbnail-engine.c: In function 'message_from_capplet':
theme-thumbnail-engine.c:642: warning: 'pixels' may be used uninitialized in
this function
theme-thumbnail-engine.c:641: warning: 'rowstride' may be used uninitialized in
this function

These are actually false positives but no warnings is good (bug #590990).
2009-08-09 13:01:54 +02:00
Federico Mena Quintero
5d9f7b5e2a RANDR - ensure that the output labels fit inside the monitor rectangles
The labels would get clipped if the monitor rectangles were too small,
thus making the labels unreadable.  Now we ensure that the ink_rect of
the text fits, and we center the text based on its logical_rect.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-08-06 15:33:22 -05:00
Federico Mena Quintero
e2a0d731ac RANDR - remove dead code
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-08-06 15:33:22 -05:00
Federico Mena Quintero
04d2ad2b45 RANDR - Don't sort the outputs before creating the labeler
We used to sort the outputs by their X coordinate, maybe to display a list of them in a
reasonable order.  However, we don't display such a list at all, so it doesn't make
sense to sort the outputs.  This also makes the capplet use the same ordering for outputs
as gnome-settings-daemon for GnomeRRLabeler's purposes, so that the colors for the outputs
match in both the capplet and g-s-d.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-08-06 15:33:22 -05:00
Claude Paroz
8c225e772d Remove markup from translatable string. Fixes #590933 2009-08-06 18:04:36 +02:00
Rodrigo Moya
87669d9ab9 Change error message reference about Bonobo to DBus 2009-08-06 16:35:25 +02:00
Claude Paroz
339738a567 Remove markup from translatable strings in GTKBuilder files. Fixes #99759 2009-08-06 11:53:42 +02:00
Jens Granseuer
b8a3dc1505 Don't clear the custom browser command on startup
When a custom browser command was set we would clear that command
when the capplet was restarted. As a side effect of no longer
doing that, we now use the last used browser command as the
starting point instead of an empty commmand (bug #590316).
2009-08-01 17:40:31 +02:00
Felix Riemann
a0dabce8b1 [network] Fix unparsed mnemonics. Fixes #590364.
Simply enables the use of the mnemonics in the GtkBuilder file.
2009-07-31 13:49:43 +02:00
Robert Ancell
7350d76e13 Change localization from Glade to GtkBuilder 2009-07-31 09:24:37 +10:00
Robert Ancell
06a9d218f4 Add missing .ui file for gnome-about-me 2009-07-31 09:09:31 +10:00
Robert Ancell
f12b766e60 Remove all references to Glade
Fix up POTFILES.in for new .ui files
2009-07-31 09:09:31 +10:00
Robert Ancell
5e17d0984f Remove libglade dependency on gnome-mouse-properties 2009-07-31 09:09:31 +10:00
Robert Ancell
d224c36f6e Remove libglade dependency on gnome-keyboard-properties 2009-07-31 09:09:31 +10:00
Robert Ancell
872a2f0da7 Remove libglade dependency on gnome-about-me 2009-07-31 09:09:30 +10:00
Jens Granseuer
9985e70d35 Don't barf on XML comments in background files
Don't print "Unknown tag" warnings when XML comments are encountered
in a wallpaper file (bug #588497).
2009-07-26 14:49:14 +02:00
Jens Granseuer
3e3e8ff02f Fix distribution of about-me icons
Remove unused icons and actually distribute those used (bug #589528)
2009-07-26 12:19:35 +02:00
Thomas Hindoe Paaboel Andersen
e01c1e2a64 Replace deprecated gtk_file_chooser_dialog_new_with_backend
Gtk+ uses gio directly now and gtk_file_chooser_dialog_new should work instead.

Fixes part of GNOME bug #572325
2009-07-19 16:44:19 +02:00
Thomas Hindoe Paaboel Andersen
f315f3451a Replace deprecated gtk_widget_draw with gtk_widget_queue_draw
Fixes a part of GNOME bug #572325
2009-07-19 16:44:19 +02:00
Thomas Hindoe Paaboel Andersen
8ffc430cb8 Resync gedit-message-area.[ch] with upstream
Fixes part of GNOME bug #572325
2009-07-19 16:44:19 +02:00
Matthias Clasen
2ec474ddfa Fix a mnemonic mishap
The _Reset to Defaults button on the color tab did not have its
mnemonic applied.
2009-07-18 01:16:25 -04:00
Matthias Clasen
8f60c01f29 Fix some theme thumbnail rendering gotchas
The theme thumbnail rendering code gets the rendering of folder icons somewhat
wrong, ie it frequently shows a gnome-fs-directory icon from gnome even if the
actual theme has a folder icon. Improve things by using modern GtkIconTheme
api in a better way.
2009-07-18 01:08:38 -04:00
Federico Mena Quintero
8fc5964b82 RANDR - Don't realign outputs if the current output didn't change resolutions
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-07-16 12:19:53 -05:00
Federico Mena Quintero
bba301ff9c RANDR - Factor out function to generate strings for refresh rate like '60 Hz'
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-07-16 12:19:52 -05:00
Federico Mena Quintero
dc62815db2 RANDR - when turning an output on, default to its preferred resolution
Previously we were picking the output's highest-supported resolution, which is not
always the same as its preferred resolution.  We also do this while actually turning
the output on, not as a side effect of rebuilding the resolution combo.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-07-16 12:19:52 -05:00
Federico Mena Quintero
9516f2f082 RANDR - Factor out function to generate strings for resolution like 'width x height'
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-07-16 12:19:52 -05:00
Felix Riemann
5cf753b102 [network] Remove libglade dependency from gnome-network-properties 2009-07-16 14:55:04 +02:00
Thomas Wood
5d882a3bdd Automatically generate .gitignore files with git.mk
Add git.mk and include it in all Makefiles to generate .gitignore files
2009-07-16 00:38:51 +01:00
Rodrigo Moya
2aa0c3ed1b EXTRA_DIST about-me fingerprint icons 2009-07-15 18:40:24 +02:00
Peter Hutterer
e14a84a718 Support touchpad configuration through device properties.
This patch is based on Ubuntu's touchpad configuration.

It adds a new tab to gnome-mouse-properties that allows to enable/disable the
touchpad, tapping and select between edge scrolling and two-finger scrolling.

It adds the following gconf keys:
    /desktop/gnome/peripherals/touchpad/disable_while_typing (boolean)
    /desktop/gnome/peripherals/touchpad/tap_to_click         (boolean)
    /desktop/gnome/peripherals/touchpad/horiz_scroll_enabled (boolean)
    /desktop/gnome/peripherals/touchpad/scroll_method        (integer)
    [0,1,2 for disabled, edge and two-finger scrolling, respectively]

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-12 22:43:19 +01:00
Thomas Wood
53d1d5e347 [display,window] add missing UI definition files
Add UI files from bug 572325.
Patch by Felix Riemann <friemann@gnome.org>
2009-07-12 17:23:36 +01:00
Thomas Wood
0a615ec0b4 [appearance] actually commit the ui definition file 2009-07-12 17:09:16 +01:00
Thomas Wood
dbbe37f0bc [appearance] unref the GtkBuilder object if loading failed
Unref the GtkBuilder object if the ui description file could not be loaded.
This prevents the GtkBuilder object from being leaked.
2009-07-12 00:38:26 +01:00
Thomas Wood
91d7627558 [appearance] install the ui file into the common ui directory
Install the UI description file into the same directory as the other
capplets
2009-07-12 00:36:17 +01:00
Thomas Wood
683102f257 [appearance] remove custom cell renderers
The custom cell renderers were required to draw the selection inidicator
around the entire item, not just the text. This has now been fixed in GTK+ as the
as the resolution of bug 382544.
2009-07-11 23:24:34 +01:00
Thomas Wood
8389b285a1 [appearance] Remove the .glade ui file
This is no longer used, since the appearance capplet has been migrated to
GtkBuilder.
2009-07-11 13:00:02 +01:00
Thomas Wood
e5d8d840d5 [appearance] migrate appearance capplet to GtkBuilder
This removes the dependency on the deprecated libglade library.
2009-07-11 12:53:27 +01:00
Felix Riemann
9fcae9146b [keybindings] Remove libglade dependency from keybindings capplet 2009-07-10 19:52:36 +02:00
Felix Riemann
80e3300d27 [default-apps] Remove libglade dep from default-applications capplet 2009-07-10 19:49:18 +02:00
Felix Riemann
0b65af5fad [at-properties] Remove libglade depency from at-properties capplet
The image widgets used by the buttons are now created and assigned
through GtkBuilder directly as well.
2009-07-10 19:39:21 +02:00
Felix Riemann
eb10778c53 [windows] Strip libglade dependency from gnome-window-properties 2009-07-09 14:59:43 +02:00
Felix Riemann
622a730e5c [display] Remove libglade dependency from display-properties capplet 2009-07-09 14:54:25 +02:00
Rodrigo Moya
2fc7c6d360 [about-mne] Added missing Makefile.am 2009-07-09 13:23:03 +02:00
Bastien Nocera
af839df16e New icons for fingerprint screen from Michael Langlie <mlanglie@redhat.com> 2009-07-09 13:19:34 +02:00