Commit graph

4495 commits

Author SHA1 Message Date
Martin Hatina
0c9657c0ed notifications: replace unclear Banner term in UI
Users are not familiar with term 'banner', so it is replaced with
term 'popup'. Also description has been added to the notifications
and popups switches, which explains why someone might want to disable
popups but leave notifications enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=751369
2017-01-11 12:32:47 +01:00
Rui Matos
1e7631d8a4 common: Handle trackpoint devices in GsdDeviceManagerX11
With gtk+ >= 3.22 trackpoints are classified separately from mice so
we need to handle them here. Also, remove the default case so that we
get a compilation warning in case this happens again.

In the future we might want to expose this further if we start adding
trackpoint specific UI.

https://bugzilla.gnome.org/show_bug.cgi?id=776660
2017-01-09 15:45:38 +01:00
Michael Catanzaro
03ebd431b5 network: Fix missing page title on wired panel
The NetDeviceEthernet's title is not set until after the UI is created,
so we have to listen for changes to the title.

https://bugzilla.gnome.org/show_bug.cgi?id=776369
2017-01-04 08:49:45 -06:00
Georges Basile Stavracas Neto
76062e1106 online-accounts: Add a stack to the account dialog
This will be used to unify the account creation proccess and the
account editor.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-01-03 18:50:23 +01:00
Georges Basile Stavracas Neto
dce3e168d2 online-accounts: Remove unused widgets
These widgets are not used anymore, and they're not present in the
latest designs.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-01-03 18:36:41 +01:00
Georges Basile Stavracas Neto
c26f8ae018 online-accounts: Add a providers listbox to the panel
This commit starts moving the contents of the add account dialog
class to the panel itself, by adding a providers listbox below
the list of available account as per the new mockups. As a side effect,
this commit temporarily makes removing an account non-functional.

The next commits are focused on finishing this move and removing
the add account dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-01-03 17:52:07 +01:00
Georges Basile Stavracas Neto
7117f63718 online-accounts: Make the entire panel scrollable
The current implementation of the Online Accounts panel allows only
the account list to scroll. To prepare ouselves for the future
changes, let's make the entire panel scrollable.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-01-03 17:03:49 +01:00
Georges Basile Stavracas Neto
d925774a88 online-accounts: Remove unused 'id'
https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-01-03 17:00:52 +01:00
Georges Basile Stavracas Neto
be9687ce94 online-accounts: Simplify setting the margin
https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-01-03 15:03:18 +01:00
Georges Basile Stavracas Neto
8b56b9d1d8 online-accounts: Add a header label as per the latest mockups
https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-01-03 15:00:04 +01:00
Georges Basile Stavracas Neto
4e197b491f online-accounts: Make the main listbox non-selectable
Instead of selecting an account, this commit makes the account
editor dialog only visible through explicit activation of the
account row.

As a side effect, this commit temporarily makes removing an
account non-functional.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2016-12-15 19:40:28 +01:00
Debarshi Ray
182cac1ea3 online-accounts: Update the UI if IsLocked changes
We want to check the IsLocked property whenever we call
show_page_account. ie. when we show an account for the first time, and
also when the displayed account emits account-changed. Hence it is
better to have them together.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2016-12-15 19:08:47 +01:00
Georges Basile Stavracas Neto
1a427a8ac3 online-accounts: Use a dialog to manage the online account
Following the mockups, the Online Accounts panel shall use a modal
dialog to edit online accounts.

This commit moves the current widgets to a dialog, and shows this
dialog whenever an account is selected.

Some changes by Debarshi Ray.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2016-12-15 17:51:59 +01:00
Ondrej Holy
e8aa9fc0b0 info: Do not crash if Renderer is not set by SessionManager
This regression has been introduced by commit 52da4da. The
info panel crashes if prettify_info() returns NULL. This happens
if Renderer property from SessionManager is empty.

https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-12-05 15:45:34 +01:00
Felipe Borges
66c7f45307 printers: List new printers ASAP in the "Add Printer" dialog
List a printer in the "Add Printer" dialog as soon as it is
discovered. The header subtitle "Searching for Printers"
denotes that the Search is not done yet.

https://bugzilla.gnome.org/show_bug.cgi?id=760783
2016-12-02 15:10:56 +01:00
Georges Basile Stavracas Neto
54df308648 online-accounts: Use the ui file to connect to signals
Simplify the code by using the GtkBuilder file to connect to the
signals instead of manually doing it in the code.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2016-11-30 17:23:10 +01:00
Georges Basile Stavracas Neto
bdde40ac15 online-accounts: Use a listbox instead of a treeview
As part of the port to the redesigned Online Accounts panel,
the main widget to be displayed is a GtkListBox, so we can have
finer control of the UI elements and eventually be able to put
real widgets instead of using cell renderers.

This commit, then, makes the Online Account panel use a listbox
widget in the sidebar. The behavior of the panel was not changed.

Since its using a listbox now, we can drop the custom GoaPanelAccountsModel
class.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2016-11-30 17:16:35 +01:00
Georges Basile Stavracas Neto
902ab4e448 online-accounts: Turn into a template class
https://bugzilla.gnome.org/show_bug.cgi?id=774222
2016-11-30 17:16:35 +01:00
Georges Basile Stavracas Neto
e5208a397a online-accounts: Remove unnecessary code
Calling gtk_style_context_set_junction_sides makes no visual
difference. We are using stock GTK+ containers, which should already
be taking care of this.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2016-11-30 17:16:35 +01:00
Georges Basile Stavracas Neto
013b2d865b online-accounts: Use G_DECLARE_FINAL_TYPE
https://bugzilla.gnome.org/show_bug.cgi?id=774222
2016-11-30 17:16:35 +01:00
Georges Basile Stavracas Neto
a9701b3024 online-accounts: Fix the namespace prefix
The module-wide prefix is 'Cc' and the name of the class is 'GoaPanel',
not 'CcGoa' and 'Panel'.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2016-11-30 17:16:35 +01:00
Felipe Borges
120956fad3 user-accounts: Use GtkRevealer instead of GdNotification
GtkRevealer combined with the "app-notification" class is enough
to represent the notification concept nowadays.

https://bugzilla.gnome.org/show_bug.cgi?id=775178
2016-11-30 13:06:28 +01:00
Felipe Borges
6f51428094 region: Use GtkRevealer instead of GdNotification
GtkRevealer combined with the "app-notification" class is enough
to represent the notification concept nowadays.

https://bugzilla.gnome.org/show_bug.cgi?id=775183
2016-11-29 15:50:50 +01:00
Felipe Borges
b995e16c98 user-accounts: Don't show_restart_notification when changing Language
Since commit 5e2ed8e, the user-accounts panel does not present an
option to change the Language for the current user. This should be
done in the "Region & Language" panel instead.

In doing so, the code for launching the restart notification is
never reached in the language_response callback method.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-11-29 15:19:52 +01:00
Bastien Nocera
8a4cf8345a search: Better debug output when ignoring search providers
So that running with debug is enough to know why a search provider was
ignored.
2016-11-24 16:56:20 +01:00
Felipe Borges
02ab69bd8f sharing: Hide Vino when using Wayland
Since we don't support "Screen Sharing" under Wayland yet.

https://bugzilla.gnome.org/show_bug.cgi?id=774553
2016-11-17 16:04:32 +01:00
Bastien Nocera
26c04836e9 info: Print debug when get_renderer_from_helper() fails 2016-11-16 17:53:25 +01:00
Bastien Nocera
69c17d8652 info: Also trim useless info when trailing ")" is missing
As seen in attachment 339587

https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
1549857fc9 info: Lowercase APU/GPU names for AMD
https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
4d39db6b20 info: Add registered trademark symbol for AMD GPUs
https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
91e920b496 info: Trim AMD renderer strings
Remove the references to Gallium, and the exact versions of the DRM
backend, the kernel and LLVM. Debug information can still be gathered in
plenty of other ways.

https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
52da4dafeb info: Move duplicate space removal to info-cleanup.c
So that we don't have to do that separately for CPUs.

https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
34b1d0d083 info: Add test case for trailing spaces
As seen in:
https://bugzilla.gnome.org/show_bug.cgi?id=773213#c4
2016-11-16 17:03:49 +01:00
Bastien Nocera
4eacd56081 info: Add test suite for info cleanup
https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
cf6b2138b9 info: Split off CPU and graphics strings cleanup
https://bugzilla.gnome.org/show_bug.cgi?id=774240
2016-11-16 17:03:49 +01:00
Bastien Nocera
6bec3b1bbb info: Remove binary file from git 2016-11-16 17:03:49 +01:00
Bastien Nocera
aaf037d9a7 wacom: Fix format errors
format ‘%d’ expects argument of type ‘int’, but argument 2 has type
‘gdouble {aka const double}’
2016-11-16 17:03:49 +01:00
Felipe Borges
e980b192d8 printers: Make PpSamba a derivated class of PpHost
https://bugzilla.gnome.org/show_bug.cgi?id=760783
2016-11-16 15:53:42 +01:00
Felipe Borges
af9fd3e995 printers: Introduce the "authentication-required" signal in PpHost
This signal should be emitted by hosts and derivated classes when
it is required to authenticate hosts (ask for credentials).

https://bugzilla.gnome.org/show_bug.cgi?id=760783
2016-11-15 18:54:28 +01:00
Andreas Henriksson
bb4b83360b network: drop unneeded null-check for ip4 address
The pointer has already been dereferenced. Might have made more sense
to check if it's the empty string and treat that as error, but
nm_utils_ipaddr_valid also returns error on empty string so lets just
rely on the utility function doing the right thing here.

https://bugzilla.gnome.org/show_bug.cgi?id=708500
2016-11-11 17:55:04 +01:00
Andreas Henriksson
898d0aa4e9 network: allow empty ip4 default gateway
Null-checking the text_gateway makes no sense as it has already been
dereferenced earlier. Instead check if it's the empty string and
treat that as not-an-error. Also prevent the empty string from
being set in default_gateway.

https://bugzilla.gnome.org/show_bug.cgi?id=708500
2016-11-11 17:55:04 +01:00
Alberts Muktupāvels
2536a6cfa2 wacom: fix build error
/usr/bin/ld: /mnt/wd20ezrx-00dc0b0/JHBuild/3.24/install/lib/libgnome-desktop-3.so: undefined reference to symbol 'XFree'
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libX11.so: error adding symbols: DSO missing from command line

Change linking order to fix build.
2016-11-09 15:16:34 +02:00
Carlos Garnacho
2c00289f5f wacom: Remove g-s-d code synchronization rule
This code is going from g-s-d, the remaining bits should be adopted
by g-c-c.
2016-11-04 23:27:13 +01:00
Carlos Garnacho
1e31494f22 wacom: Remove GsdWacomDevice
It is now entirely unused.
2016-11-04 23:27:13 +01:00
Carlos Garnacho
0d402c8338 wacom: Update test to use CcWacomDevice
So it works again.
2016-11-04 23:27:13 +01:00
Carlos Garnacho
4babfe2e9f wacom: Add constructor for fake CcWacomDevice objects
So it can be used in test-wacom
2016-11-04 23:27:13 +01:00
Carlos Garnacho
7dfb7d2e5e wacom: Use updated ui files 2016-11-04 23:27:12 +01:00
Carlos Garnacho
b770d37457 wacom: Refurbish UI files
Some improvements to fit better with the new design:
- "no configured ..." page for both stylus/tablet sections
- the navigation buttons are now children of GtkRevealers, so
  size doesn't popup
- Empty placeholder in several containers have been removed.
2016-11-04 23:27:12 +01:00
Carlos Garnacho
cf408c27b0 wacom: Instaurate calibration
The "area" setting has a different treatment in the gsettings-desktop-schemas
tablet schema, the 4 double values express the padding (in unitless 0..1
range) on each of the sides of the tablet. It's been done so we don't rely
on input/output units, which we might have not the luxury to access.

Besides that, the dependency on GsdWacomDevice has been cleared.
2016-11-04 23:26:42 +01:00
Carlos Garnacho
dbff3d9284 wacom: Remove unused struct definition
It seems this was never used.
2016-11-04 23:26:42 +01:00