Commit graph

3179 commits

Author SHA1 Message Date
Kalev Lember
16e251ea98 datetime: Use new g_date_time %z format modifier
Use new %:::z format string to display timezone offset in a slightly
nicer way. This is also needed for consistency with the timezone
notifications from gnome-settings-daemon.

Also bump glib dependency to 2.37.7 for the new modifier.

https://bugzilla.gnome.org/show_bug.cgi?id=707253
2013-09-02 19:05:46 +02:00
Kalev Lember
c68f9eca50 datetime: Show the automatic timezone switch
The backend in gnome-settings-daemon is now functional, so we can expose
the option in the UI.

https://bugzilla.gnome.org/show_bug.cgi?id=707252
2013-09-02 19:05:46 +02:00
Kalev Lember
88f4c30c04 datetime: Use GObject property binding for the NTP switch
This makes it possible to remove the code for manually keeping the NTP
switch and the timedated1 DBus proxy properties in sync, and also makes
it easy to share code with the automatic timezone switch.

https://bugzilla.gnome.org/show_bug.cgi?id=707252
2013-09-02 19:04:40 +02:00
Kalev Lember
853fb8cc90 datetime: Move polkit initialization earlier
... so that in the following commit, we can rely on the permissions
being available.

While at this, also create a DATETIME_PERMISSION for the PolicyKit
action ID at the top of the file.

https://bugzilla.gnome.org/show_bug.cgi?id=707252
2013-09-02 19:04:40 +02:00
Kalev Lember
d7847fe7a1 datetime: Exit early if the timedate1 service isn't available
We cannot meaningfully change (or display) any Date & Time system
settings without the timedate1 DBus service, so just exit early.

https://bugzilla.gnome.org/show_bug.cgi?id=707252
2013-09-02 19:04:40 +02:00
Kalev Lember
a709ae41eb datetime: Rename settings to clock_settings
https://bugzilla.gnome.org/show_bug.cgi?id=707252
2013-09-02 19:04:40 +02:00
Matthias Clasen
c7bda5467b region: Add a missing xalign in the format-chooser
The 'Measurement' label wasn't right-aligned, and only worked
because it is the longest. Pointed out in

https://bugzilla.gnome.org/show_bug.cgi?id=707162
2013-09-01 15:04:49 -04:00
Matthias Clasen
4151cf76b0 network: Fix hover highlight in the wifi list
Setting a margin on the list box row widget causes the highlight
not to extend to the edge of the list. Instead, set the margin
on the box inside the row.
2013-08-30 23:37:19 -04:00
Matthias Clasen
e165efc6f9 network: Mark connection editor as changed when appropriate
We were forgetting to do so when toggling the 'Only use for resources
on its network' checkbox.

https://bugzilla.gnome.org/show_bug.cgi?id=703959
2013-08-30 23:12:44 -04:00
Thomas Wood
183e31801d display: improve the display previews
Add the current background to the display previews and improve the
display number indicators.

https://bugzilla.gnome.org/show_bug.cgi?id=706429
2013-08-30 12:29:04 +01:00
Marek Kasik
203cb82a67 printers: Mark string translatable
Mark string "Enter address of a printer or a text to filter results"
as translatable.

https://bugzilla.gnome.org/show_bug.cgi?id=707083
2013-08-30 10:03:17 +02:00
Kalev Lember
ab1d1b0c54 datetime: Hide the NTP switch when the service is unavailable
https://bugzilla.gnome.org/show_bug.cgi?id=706378
2013-08-29 16:48:54 +02:00
Matthias Clasen
826646f7fc Hide airplane mode completely
Recently, code was added to hide the airplane mode switch
when the funcitonality is not present. However, the 'Airplane mode'
label was left behind. We already have a container that holds
the entire header content of the network panel, just hide that
instead.

https://bugzilla.gnome.org/show_bug.cgi?id=706687
2013-08-25 11:35:55 -04:00
Bastien Nocera
a33998885b online-accounts: Fix missing ";" in keywords
https://bugzilla.gnome.org/show_bug.cgi?id=706668
2013-08-23 16:34:15 +02:00
Debarshi Ray
15b4c7a1bb online-accounts: Fix the use of GtkGrids for showing an account
This has the nice side-effect that rows in the different grids can no
longer get misaligned.

https://bugzilla.gnome.org/show_bug.cgi?id=706645
2013-08-23 16:19:51 +02:00
Baptiste Mille-Mathias
e4d84706b0 online-accounts: Add a bunch of keywords for missing providers
Add keywords for Kerberos, SMTP and IMAP to ease search.

https://bugzilla.gnome.org/show_bug.cgi?id=700809
2013-08-23 11:59:44 +02:00
Bastien Nocera
9745a6b128 network: Wrap the DNS list for mobile networks
Word-wrap the DNS list as we do in other panels.
2013-08-22 19:17:19 +02:00
Bastien Nocera
add1adfdb7 network: Remove unused top-level widget
The "window1" widget in the GtkBuilder file was never used.
2013-08-22 19:17:19 +02:00
Marco Barisione
82e6777cb1 online-accounts: use the async function to get all the providers
https://bugzilla.gnome.org/show_bug.cgi?id=706148
2013-08-22 15:27:40 +01:00
Marco Barisione
58669c7d4d online-accounts: make the list boxes in "Other" expand vertically
https://bugzilla.gnome.org/show_bug.cgi?id=706148
2013-08-22 15:27:40 +01:00
Marco Barisione
570611752e online-accounts: handle unbranded chat providers
https://bugzilla.gnome.org/show_bug.cgi?id=706148
2013-08-22 15:27:40 +01:00
Yosef Or Boczko
ca61b4dce9 mouse: Fix stretched "Test Your Settings" button 2013-08-21 20:42:09 +03:00
Yosef Or Boczko
648be6c11a region: Fix stretched "Login Screen" button 2013-08-21 20:42:09 +03:00
Giovanni Campagna
57f85eb4da network: remove placeholder label contents
We don't want these to appear, not even for a frame.

https://bugzilla.gnome.org/show_bug.cgi?id=706330
2013-08-21 09:41:22 +02:00
Thomas Wood
b4a16be646 display: initial implementation of the new design
Add an initial implementation of the new design for the display panel. The
display previews and presentation mode are not yet fully implemented.

https://bugzilla.gnome.org/show_bug.cgi?id=706115
2013-08-20 18:25:44 +01:00
Kalev Lember
c5812c3ccc datetime: Mark the time format strings as translatable
... and add translator comments explainings what they do. The RTL
languages are likely going to want to show them in a different order.

We should eventually move to just using GnomeWallClock and/or
g_date_time_format with %c that already have translated the time format
strings. However, in case this doesn't make it in time for 3.10, mark
the current strings in g-c-c as translatable to get some translation
coverage.

https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 15:49:59 +02:00
Kalev Lember
da9d4a76c9 datetime: Show information about the selected timezone
... using the text bubble API from the previous commit. We're currently
displaying the time zone abbreviation, UTC offset, city and country
name, and the current time.

https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 15:49:59 +02:00
Kalev Lember
05dc928313 datetime: Add API to draw a text bubble on the timezone map
It's currently drawn either west or east of the position marker,
depending where we have more free space.

https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 15:49:59 +02:00
Kalev Lember
718118963e datetime: Implement timezone search with autocompletion
This is first cut at implementing the new timezone dialog design.
Instead of having drop down menus with the city and the continent, we're
now switching to a search entry that has autocompletion.

https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 15:49:50 +02:00
Srinivasa Ragavan
e9a6e679fc privacy: confirm before emptying trash or purging temporary files.
Fixes bug #703163
2013-08-20 19:11:33 +05:30
Rui Matos
19d3e96d6a datetime: Ensure that translated strings for timezones are UTF-8
This was fixed in commit 2c4bba74e0 but
then got lost in a code refactor in commit
3686cf7eb8.

https://bugzilla.gnome.org/show_bug.cgi?id=706350
2013-08-20 13:49:52 +01:00
Allan Day
fefa11594c Universal access menu option - use a clearer label
It wasn't obvious what the switch did.

https://bugzilla.gnome.org/show_bug.cgi?id=706348
2013-08-20 12:23:09 +01:00
Allan Day
faedd89f41 Notifications - add padding above the app list
This makes the switches distinct from the list - they do
different things.

https://bugzilla.gnome.org/show_bug.cgi?id=706347
2013-08-20 12:23:09 +01:00
Bastien Nocera
eb4ee20920 power: Avoid warning with no screen backlight
Similar patch to f7c5225288
but for the screen backlight.
2013-08-20 04:34:46 +02:00
Bastien Nocera
f7c5225288 power: Avoid warning with no keyboard backlight
If there's no keyboard backlight interface in gnome-settings-daemon,
hide the slider as well, rather than throw a warning.

https://bugzilla.gnome.org/show_bug.cgi?id=706040
2013-08-20 04:34:32 +02:00
Kalev Lember
6fddedad84 datetime: Toggle the NTP switch when clicking on the row
Pointed out by Allan Day on IRC.

https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 02:30:31 +02:00
Kalev Lember
20670b5360 datetime: Shuffle initialization code around
Move subdialog setup code out of the main init function and to
respective setup_*_dialog() functions.

https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 02:21:21 +02:00
Kalev Lember
f5cb98c94f datetime: Implement new design for the time subdialog
https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 02:21:21 +02:00
Kalev Lember
60e448b77a datetime: Move the 24h/12h selection to the main overview
... and use a combobox for choosing between the options.

https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 02:21:21 +02:00
Kalev Lember
9a3265de24 datetime: Show the timezone map in the original, unscaled size
https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 02:21:06 +02:00
Kalev Lember
f90edf44b1 datetime: Clean up error handling
Avoid using two GError variables in a single function to reduce
programmer confusion. Instead, only use one and clear it with
g_clear_error() when we need to reuse it.

Pointed out by Rui Matos.

https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 02:17:32 +02:00
Kalev Lember
a0d156d19a datetime: Implement listbox based overview
... and move existing date/time and timezone settings to separate subdialogs.

https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 02:17:32 +02:00
Bastien Nocera
074f55e344 background: Add support for lock screen background
https://bugzilla.gnome.org/show_bug.cgi?id=696166
2013-08-20 00:35:30 +02:00
Bastien Nocera
ea16cadce9 background: Remove unused "lock" preview widgets
https://bugzilla.gnome.org/show_bug.cgi?id=696166
2013-08-20 00:35:30 +02:00
Bastien Nocera
1097d4ca75 background: Fix memory corruption when creating preview
When using a single screen, the captured area was too small, and
we were copying data from out-of-bounds of the pixbuf area.

https://bugzilla.gnome.org/show_bug.cgi?id=696166
2013-08-20 00:35:30 +02:00
Bastien Nocera
4a53e93c69 network: Correctly check for error conditions 2013-08-19 22:34:55 +02:00
Bastien Nocera
0f5122eb9a network: Remove unused include 2013-08-19 22:34:55 +02:00
Kalev Lember
ef1f9e3398 privacy: Remove Name & Visibility section
We no longer show the user's name in the GNOME Shell top bar or in the
lock screen and this dialog no longer has any purpose.

https://bugzilla.gnome.org/show_bug.cgi?id=706301
2013-08-19 19:51:49 +02:00
Kalev Lember
fd4df35093 datetime: Move pixbuf loading out of the draw signal handler
This moves the timezone location marker image loading code to init()
where most of other resources are loaded, making the draw callback
smaller and easier to read. As a plus, it also avoids needless
allocations during each time the map is drawn.

https://bugzilla.gnome.org/show_bug.cgi?id=706253
2013-08-19 18:42:01 +02:00
Kalev Lember
625583974a datetime: Use g_clear_object()
https://bugzilla.gnome.org/show_bug.cgi?id=706253
2013-08-19 18:41:36 +02:00