Commit graph

3780 commits

Author SHA1 Message Date
Timm Bäder
9ffaff7472 wifi: Use a GtkStack to switch between button/spinner
Instead of only adding a button and/or spinner when constructing the
row, always add both to a GtkStack and only show that stack when
necessary. This also removes the need for a GtkSizeGroup and the big
spinner caused by it.

https://bugzilla.gnome.org/show_bug.cgi?id=742853
2015-01-20 20:19:39 +01:00
Ondrej Holy
27428f1d19 mouse: put check buttons in one row
https://bugzilla.gnome.org/show_bug.cgi?id=743198
2015-01-20 17:28:22 +01:00
Ondrej Holy
dba7bf76c4 user-accounts: hidpi support for user's icons in tree view
This patch adds UmCellRendererUserImage object which respect scale factor.

https://bugzilla.gnome.org/show_bug.cgi?id=742395
2015-01-20 17:08:19 +01:00
Ondrej Holy
5c30530271 user-accounts: hidpi support for user's icons
This patch adds UmUserImage widget which respect scale factor.

https://bugzilla.gnome.org/show_bug.cgi?id=742395
2015-01-20 17:08:15 +01:00
Ondrej Holy
006b5970a6 user-accounts: render user's icons as surface with scale
This patch is needed for future hidpi support.

https://bugzilla.gnome.org/show_bug.cgi?id=742395
2015-01-20 17:08:11 +01:00
Marek Kasik
e923c5d5c7 notifications: Shrink application icons
Shrink application icons and add some margin to them so
the overall size is the same.

https://bugzilla.gnome.org/show_bug.cgi?id=742522
2015-01-20 15:17:20 +01:00
Marek Kasik
9407015730 notifications: Place switches into GtkListBox
Place panel switches into GtkListBox and change their
behaviour so that:

When "Notifications" switch is off, all other switches in the dialog are
insensitive.
"Notifications Banners" switch is off and insensitive when corresponding
panel switch is off.
"Show Message Content in Banners" switch is off and insensitive when switch
above is off.
"Lock Screen Notifications" switch is off and insensitive when corresponding
panel switch is off.
"Show Message Content on Lock Screen" switch is off and insensitive when switch
above is off.

https://bugzilla.gnome.org/show_bug.cgi?id=742521
2015-01-20 15:17:20 +01:00
Marek Kasik
b1c51fd5d1 notifications: Change switch labels
Change "Show Pop Up Banners" to "Notification Banners" and
"Show in Lock Screen" to "Lock Screen Notifications".

https://bugzilla.gnome.org/show_bug.cgi?id=742521
2015-01-20 15:17:20 +01:00
Marek Kasik
52f63a0ce3 notifications: Add label Applications
Add label with text "Applications" above the list of applications.

https://bugzilla.gnome.org/show_bug.cgi?id=742521
2015-01-20 15:17:20 +01:00
Marek Kasik
1a4fdd47dc notifications: Move switches to a GtkListBox
Place the "Show Pop Up Banners" and "Show in Lock Screen" labels
in a list. This makes the UI easier to read.
Add frame around the list box.

https://bugzilla.gnome.org/show_bug.cgi?id=742521
2015-01-20 15:17:20 +01:00
Marek Kasik
5641299a2a notifications: Scroll the view not just the list
Scrolling the view gives more room for viewing the list and
provides a larger scroll area, making the list easier to use.
Set height of content of the panel to 400 pixels.
Add frame around the list box.

https://bugzilla.gnome.org/show_bug.cgi?id=742520
2015-01-20 15:17:20 +01:00
Rui Matos
f5eb204741 mouse: Switch to new peripherals settings schema
Most peripherals settings have been moved to
gsettings-desktop-schemas.

There are some semantic differences:

* pointer and touchpad speed is now a single value in the [-1..1]
  range (from "unaccelerated" to "fast"). A value of 0 is the default;

* touchpad enabled is now an enum which can be enabled, disabled or
  disabled-on-external-mouse. This patch keeps the same UI so the last
  value is the same as disabled in the UI and can't be set for now;

* disable while typing is now always enabled so the checkbox has been
  removed;

* horizontal scrolling is always enabled when two finger scroll is
  disabled. It wasn't in the UI but we no longer need to set it since
  it doesn't exist anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=743194
2015-01-20 15:02:06 +01:00
Michael Catanzaro
1522790461 displays: Apply buttons should use suggested-action style class
https://bugzilla.gnome.org/show_bug.cgi?id=743216
2015-01-20 07:43:31 -06:00
Rui Matos
2a36a4c607 keyboard: Switch to new peripherals settings schema
Most peripherals settings have been moved to
gsettings-desktop-schemas.

https://bugzilla.gnome.org/show_bug.cgi?id=743194
2015-01-20 14:09:09 +01:00
Rui Matos
386a996a19 network: Remove unused variable 2015-01-20 14:09:09 +01:00
Rui Matos
b45d08b603 network: Display an error instead of the panel on NM absence
This is more in line with current GNOME UI and allows us to drop
deprecated gtk+ API usage.

https://bugzilla.gnome.org/show_bug.cgi?id=740986
2015-01-20 14:08:41 +01:00
Marek Chalupa
1cca6545dd background: Fix crash when choosing background due to missing icon
https://bugzilla.gnome.org/show_bug.cgi?id=742656
2015-01-19 14:01:47 +01:00
Ondrej Holy
8bd1a5f18d user-accounts: do not show notification if not needed
Restart notification is shown if there is different language in
accountsservice. However restart isn't needed if user selects original
language (after several changes), which is already used in the system.

https://bugzilla.gnome.org/show_bug.cgi?id=703392
2015-01-19 13:12:34 +01:00
Ondrej Holy
b0e6526c46 user-accounts: do not set the language twice
The act_user_set_language function is called twice as a result of
commit 96c0c0a, which is not necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=703392
2015-01-19 13:05:36 +01:00
Yosef Or Boczko
d6c7e67d4f sharing: Put a real description string in the media dialog
https://bugzilla.gnome.org/show_bug.cgi?id=736537
2015-01-18 11:32:25 -05:00
Bastien Nocera
7564b79518 info: Add debug for unmodified GL_RENDERER string
Useful to know what the original version looks like.
2015-01-16 00:47:15 +01:00
Bastien Nocera
f30e6df1d4 network: Also work with NM 1.0
Remove the NetworkManager version checking altogether. The code was made
to check for now very old versions of NetworkManager, and anything newer
than ancient should degrade gracefully if we support newer features.

https://bugzilla.gnome.org/show_bug.cgi?id=741661
2015-01-15 14:59:44 +01:00
Bastien Nocera
d82ca8d842 privacy: Remove margin_left usage
And correct the margin-start usage when it was different.
2015-01-15 14:59:44 +01:00
Bastien Nocera
05a3af45ec privacy: Fix mnemonic widget for software switch
Copy/paste error.
2015-01-15 14:59:44 +01:00
Bastien Nocera
24a4d4b9bd privacy: Require GTK+ 3.16 in the UI file
Saves us from some glade warnings
2015-01-15 14:59:44 +01:00
Ondrej Holy
b61c74aa60 user-accounts: don't show empty row for remote users
Empty row is shown instead of hidden autologin switch, because autologin
box is still visible. Set visibility on autologin box to hide this empty
row.

https://bugzilla.gnome.org/show_bug.cgi?id=742926#c0
2015-01-15 09:34:46 +01:00
Cosimo Cecchi
eb93004ead region: fix a crash when iterating locales
When iterating locales in the format chooser,
gnome_get_country_from_locale() is called for each of them to build the
locale label for the list row.

The function creating the label doesn't take into account that
gnome_get_country_from_locale() can return NULL, in which case it will
both:
- display an empty row in the list
- crash when later trying to find a word in a NULL string with strstr()
  inside match_all()

Just avoid creating a widget in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=742639
2015-01-10 11:44:38 +08:00
Rui Matos
1df796ac28 printers: Drop remaining deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2015-01-08 19:04:53 +01:00
Bastien Nocera
db756d7b58 notifications: Force smaller icons
To work-around application icons that would be too big.

https://bugzilla.gnome.org/show_bug.cgi?id=742116
2015-01-07 19:03:11 +01:00
Rui Matos
283f6b4ce3 user-accounts: Fix deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2015-01-07 16:43:34 +01:00
Rui Matos
ca7421efa2 user-accounts/crop-area: Enforce a minimum size
Otherwise, since the dialog is resizable, users could resize us so
small that we'd crash inside gdk_pixbuf_scale() .

https://bugzilla.gnome.org/show_bug.cgi?id=740986
2015-01-07 16:43:34 +01:00
Rui Matos
a56693207d user-accounts/crop-area: Fix background rendering around the picture
Instead of trying to fill the displayed pixbuf with the background
color (and failing at that), just make the pixbuf be an aspect correct
scaled size of the original picture and draw it at the correct offset
on the draw vfunc.

This allows us to get rid of deprecated gtk+ API usage and fixes the
background around the picture ending up black despite de code's
intent.

https://bugzilla.gnome.org/show_bug.cgi?id=740986
2015-01-07 16:43:34 +01:00
Rui Matos
1029d0c69a region: Don't show IBus sources in the system-wide input chooser
Since we can't export IBus sources through the localed API we
shouldn't even allow users to choose them.

This allows us to stop having to show an apologising dialog which
makes us look a bit bad and was using deprecated gtk+ API that we're
trying to get rid of. Instead, we show the same information up front,
in the input chooser.

https://bugzilla.gnome.org/show_bug.cgi?id=740986
2015-01-06 16:17:36 +01:00
Ondrej Holy
f0e8f9d161 user-accounts: fix crash when network changes
Add user dialog crashes if it has been closed and network configuration
changes, because the dialog is already disposed, but on_network_changes
callback is executed. To fix this crash network monitor signal handler
has to be disconnected on dispose.

https://bugzilla.gnome.org/show_bug.cgi?id=742439
2015-01-06 12:20:55 +01:00
Ondrej Holy
af93bb814e user-accounts: don't crash when closing fingerprint dialog
Enroll data are used after destroying when closing dialog. It causes
crash while setting label. Therefor we have to store the pointer for
fingerprint button and use it to set the label after destroying the
data.

https://bugzilla.gnome.org/show_bug.cgi?id=741635
2014-12-17 12:34:30 +01:00
Anders Jonsson
a655643325 universal-access: Fix typo in translatable string
https://bugzilla.gnome.org/show_bug.cgi?id=741413
2014-12-12 09:29:01 +01:00
Rui Matos
85fc10d9d2 user-accounts: Add the password input purpose to all relevant entries 2014-12-05 16:52:07 +01:00
Rui Matos
70c33f473a sound: Fix deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:23:07 +01:00
Rui Matos
cd5316b7a7 network: Drop deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
Rui Matos
205a0cd4bd wacom: Drop deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
Rui Matos
7d1a8db47e sharing: Drop deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
Rui Matos
2a1455ff7f privacy: Drop deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
Rui Matos
d3b6add75e search: Drop deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
Rui Matos
a880013b3e user-account: Don't stroke the down arrow with the border color
Besides using deprecated gtk+ API this color is actually fully
transparent in the current GNOME theme, meaning that the arrow ended
up looking smaller than intended.

https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
Rui Matos
33404f1ea8 user-accounts/photo-dialog: Remove needless frame
Now that the crop area isn't all black around the picture, this frame
is just visual noise.

https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
Rui Matos
3d2576b5f3 sound/speaker-test: Port to GtkGrid
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
Rui Matos
6686a79158 region: Fix deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
Rui Matos
54227dc21e online-accounts: Fix deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
Rui Matos
dd05918a40 display: Fix deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
Rui Matos
30590061fc display: Drop deprecated API usage on FooScrollArea painting
This achieves a very similar result (darkening the background color)
without having to peek into the style context. Note that the stroke
is removed because it isn't really visible anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00