Commit graph

777 commits

Author SHA1 Message Date
Bastien Nocera
5c755904e1 keyboard: Clean up GConf handling
Move most of the horrible GConf monitoring code to a separate
GObject(-ish). While quite ugly, it's not as bad as the code that
used to be there before.

Also fix the setting of KeyEntry->model (or CcKeyboardItem->model now)
to be the correct model (eg. the shortcut model rather than the section
model)
2011-02-16 01:24:49 +00:00
Bastien Nocera
18a76d2dff background: Remove unused GConf include 2011-02-16 01:24:49 +00:00
Bastien Nocera
816068ff6f keyboard: Simplify bit of code 2011-02-16 01:24:49 +00:00
Bastien Nocera
47770ed40c keyboard: typedef the shortcut types 2011-02-16 01:24:48 +00:00
William Jon McCann
6ceea9b3ae info: add warning that always fallback will effect next login 2011-02-15 14:15:35 -05:00
William Jon McCann
17008fe565 info: make sure to always print an experience value 2011-02-15 13:59:27 -05:00
William Jon McCann
0be178ba6b info: use the correct return type for getting dbus properties
Makes getting the session experience property work.
2011-02-15 13:50:46 -05:00
William Jon McCann
d1920f8bea info: move update button into the overview page
It doesn't make much sense when seen from other pages.
2011-02-14 23:06:20 -05:00
William Jon McCann
ca48b040ec info: add an updates available button 2011-02-14 22:33:42 -05:00
William Jon McCann
6972c36af1 info: use a http scheme handler instead of html 2011-02-14 21:01:30 -05:00
William Jon McCann
5226b4242f info: add Photos default app 2011-02-14 21:00:05 -05:00
William Jon McCann
1f0c728688 info: make all app chooser buttons the same width 2011-02-14 20:39:00 -05:00
William Jon McCann
f04373fdd2 info: use ogg to find generic players for now since wildcards don't work 2011-02-14 20:35:01 -05:00
William Jon McCann
a06dd02092 info: re-prettify cpu info 2011-02-14 19:48:44 -05:00
William Jon McCann
642e12a10a info: add stub for default apps page 2011-02-14 19:45:43 -05:00
William Jon McCann
f42c262123 info: fix the layout from the last commit
- Don't use a paned widget
 - Fix spacing and alignment
2011-02-14 18:54:34 -05:00
Bastien Nocera
50211514c5 user-accounts: Hide fingerprint dialogue by default
The dialogue was shown when loaded by GtkBuilder, and then
parented properly, which made it jump before display.

https://bugzilla.gnome.org/show_bug.cgi?id=641990
2011-02-14 23:52:10 +00:00
Bastien Nocera
07664136d0 user-accounts: Remove use of obsolete properties 2011-02-14 23:48:49 +00:00
Colin Walters
c32ce5ee9d info: Add panel chooser, graphics tab
This is work towards implementing
http://live.gnome.org/Design/SystemSettings/SystemInformation

Implemented in this patch is some cleanup and parts of the
Graphics tab.

https://bugzilla.gnome.org/show_bug.cgi?id=642068
2011-02-14 17:22:25 -05:00
Bastien Nocera
3ae9e15ebf background: Fix initial state when loading gradients
And fix saving as well, as we were saving from the item,
instead of the current_background, thus losing name, etc.
2011-02-14 19:49:27 +00:00
Bastien Nocera
e4efd61cfe background: Fix comparisons of gradients 2011-02-14 19:49:07 +00:00
Bastien Nocera
8be746af8d background: Add arrows for the gradients 2011-02-14 19:48:38 +00:00
Bastien Nocera
558d6752f9 background: Add/Remove features for panel
Remove unused "backgrounds-liststore" object from .ui file, and
add remove button.

Make remove button sensitive for files that were copied to the cache,
and implement remove itself.

Remember needs_download when copying CcBackgroundItem objects.

Make "Add" button unsensitive in chooser when background was
already added to the list, to avoid duplicates.

Ellipsise background label.
2011-02-14 19:11:20 +00:00
Bastien Nocera
a1dd22ea17 background: Add/Remove features in pictures source
Remember added files, so they cannot be added twice to the pictures
store (using UUID of the URI as key).

Implement removing items from the list.

Fix memory leaks.
2011-02-14 19:11:20 +00:00
Bastien Nocera
db0b5b1195 background: Use objects for CcBackgroundItem storage
So that we don't need to unref the items in the list store by hand.
2011-02-14 19:11:20 +00:00
Bastien Nocera
7aca4e1ab2 background: Add support for source-url in XML 2011-02-14 19:11:20 +00:00
Bastien Nocera
f77d23f35a background: Add "needs-download" property
Rather than relying on source-url being NULL, which would mean
we can't then save it.
2011-02-14 19:11:20 +00:00
Bastien Nocera
5ca5367018 background: Remove files that don't exist
If an xml file references a wallpaper that doesn't exist
(as seen by installing the desktop-backgrounds-basic package
on Fedora), then just don't add it to the list of wallpapers.

Reported by Matthias Clasen
2011-02-14 15:11:17 +00:00
Bastien Nocera
4809be2b3f background: Implement 'Add' button 2011-02-14 15:04:55 +00:00
Matthias Clasen
81ae3f4466 background: Avoid resizing the drawing area if controls are hidden 2011-02-14 09:31:38 -05:00
Bastien Nocera
bad4e389ef background: Avoid warning when XML file doesn't exist 2011-02-14 14:28:46 +00:00
Bastien Nocera
8eace42d8a background: Update preview correctly for custom bgs
When we're creating our new item for custom wallpapers, make
sure that we update the ->current_background, otherwise we'll
still be displaying the previous configuration.
2011-02-14 13:26:40 +00:00
Bastien Nocera
8bca545902 background: Fix errors when saving current wp
As report by Matthias Clasen
2011-02-14 13:26:39 +00:00
Bastien Nocera
78e16e52f4 background: Add first pass at "add" button
With a hard-coded filename for now.
2011-02-14 13:26:39 +00:00
Bastien Nocera
e6cb9f5b12 background: Add ability to add a single file
To the pictures backend.
2011-02-14 13:26:39 +00:00
Bastien Nocera
c32b0da4e4 background: Only accept URIs when creating items 2011-02-14 13:26:39 +00:00
Bastien Nocera
715474fb30 background: Update comment 2011-02-14 13:26:39 +00:00
Bastien Nocera
1933bfdf17 background: Use correct cache directory 2011-02-14 13:26:39 +00:00
Bastien Nocera
2866a70f6a background: Don't show an error if no cache dir
We don't want to see errors if the directory doesn't exist.
2011-02-14 13:26:39 +00:00
Bastien Nocera
9ac7a0aa32 background: Remove code for impossible situation
We can never have placement be "none" as we create new items
with "scaled" by default. So just set "zoom" all the time.
2011-02-14 13:26:39 +00:00
Bastien Nocera
87f05ef0ed background: Also look for items in ~/.cache
We'll be saving items in ~/.cache/gnome-control-center/backgrounds
for the Flickr and manual additions of items, so look there as well.
2011-02-14 13:26:39 +00:00
Bastien Nocera
575d8d2463 background: Add "add" button
To allow adding arbitrary files to the list.
2011-02-14 13:26:39 +00:00
Marek Kasik
83056c17dc printers: Modify jobs list
Don't include owner's name in the list (it is actual user).
Left align text in rows. Take into account system settings
when showing time (12h/24h). Show headers.
2011-02-14 14:02:17 +01:00
Marek Kasik
8db5e051cd printers: Set Options and Show buttons sensitive
Set "Options" button and "Show" button sensitive if there is a printer
selected.
2011-02-14 13:52:19 +01:00
Emilio Pozuelo Monfort
55cfef36a6 printers: Link the printer panel with $(GNOMECC_CAPPLETS_LIBS)
https://bugzilla.gnome.org/show_bug.cgi?id=641972
2011-02-14 12:49:35 +01:00
Bastien Nocera
fbe3926ed3 background: Try our hardest to remember the last bg
Save the current background as XML, and try to load it back up
when starting. If the saved background pretty much matches what we
have in GSettings, then it's the same item, and we try and remember
all the metadata, including the name.

https://bugzilla.gnome.org/show_bug.cgi?id=630417
2011-02-14 09:44:05 +00:00
Bastien Nocera
ecdcb2c235 background: Implement saving a single item 2011-02-14 09:44:05 +00:00
Bastien Nocera
329aabf0b1 background: Set the shading for pictures 2011-02-14 09:44:05 +00:00
Bastien Nocera
2a146db805 background: Handle no-flags from saved config 2011-02-14 09:44:05 +00:00
Bastien Nocera
5517949b4e background: Treat empty URI as NULL
So that comparisons are easier.
2011-02-14 09:44:05 +00:00