Commit graph

18355 commits

Author SHA1 Message Date
Robert Ancell
96b6ae98d0 user-accounts: Remove unused icon style code 2018-11-14 10:10:15 +13:00
Robert Ancell
feaa29bfc0 user-accounts: Rename UmRealmManager to CcRealmManager
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:10:14 +13:00
Robert Ancell
eb7bbae2cd user-accounts: Rename UmPhotoDialog to CcAvatarChooser
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:06:15 +13:00
Robert Ancell
262baed6a1 user-accounts: Rename UmCarousel to CcCarousel
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:06:15 +13:00
Robert Ancell
4767a094bd user-accounts: Rename UmUserImage to CcUserImage
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:06:15 +13:00
Georges Basile Stavracas Neto
fb45df29a3
3.31.2 2018-11-12 23:43:14 -02:00
Benjamin Berg
1ab42b4ec5 tests: Ensure generated function have a __qualname__ attribute
This is solely used for filtering by unittest, however, if it is
missing, then unittest will fail. So generate a reasonable name (which
is unfortunately not identical to the real name of the attribute).
2018-11-13 02:32:28 +01:00
Robert Ancell
f649308f1f common: Fix ... row not showing in language chooser
Broken in 67a9f47464
2018-11-12 20:33:05 +00:00
Robert Ancell
9d091692f8 region: Fix ... row not showing
Broken in 5368c1cb71
2018-11-12 20:33:05 +00:00
Robert Ancell
c4a6f7bd54 search: Make .ui filename match the .c filename 2018-11-12 16:41:01 +00:00
Robert Ancell
e77080c83c info: Make .ui filenames match the .c filenames 2018-11-12 16:41:01 +00:00
Robert Ancell
e6bf2870c1 power: Make .ui filename match the .c filename 2018-11-12 16:41:01 +00:00
Robert Ancell
3695c22ab5 datetime: Make .ui filename match the .c filename 2018-11-12 16:41:01 +00:00
Robert Ancell
59cc518c3e universal-access: Make .ui filename match the .c filename 2018-11-12 16:41:01 +00:00
Robert Ancell
41d2eff314 sharing: Make .ui filename match the .c filename 2018-11-12 16:41:01 +00:00
Robert Ancell
465f096ea0 keyboard: Make .ui filename match the .c filename 2018-11-12 16:41:01 +00:00
Piotr Drąg
99f73303e8 tests: Remove translatable attributes from .ui files 2018-11-12 15:59:23 +01:00
Piotr Drąg
f8cae858d9 Update POTFILES.in 2018-11-12 15:58:17 +01:00
Benjamin Berg
127fb4d75b Revert "tests: Temporarily disable Python tests"
The python based tests are working again. Re-enable them so that they
get run by the CI.

This reverts commit 2f44c441ff.
2018-11-12 11:27:10 +01:00
Georges Basile Stavracas Neto
65ede4f409
Introduce interactive test for panels
The purpose of this interactive test is to be able to
prototype new features for CcPanel without having to
adapt existing panels.

Three test panels were added as part of this initial
patch:

 * Dynamic panels: panel exercising the ability to
   show and hide itself at runtime.
 * Header: panel that embeds a header widget.
 * Static Initializer: panel that sets a static init
   function to run at startup.
2018-11-11 23:46:19 -02:00
Georges Basile Stavracas Neto
c4c901f95d
panel-list: Dynamically show Details/Devices row
This is just a nicety for the test mode; when there are no
panels added under those categories, do not show the rows.
2018-11-11 23:46:07 -02:00
Georges Basile Stavracas Neto
14583e9630
build: Reorganize shell libraries and dependencies
This commit does a few different bit interwined things to the
build steps:

 * Make libtestshell and gnome-control-center share more of the
   variables and resouces;
 * Use 'dependencies' instead of 'link_with' for libshell;
 * Add some visual marks as comments;
2018-11-11 23:44:38 -02:00
Georges Basile Stavracas Neto
9a2c5dc41b
panel-loader: Document public functions
Add documentation comments to the public functions, which
has the additional benefit of adding visual marks for
public functions and making it easier to navigate through
this file.
2018-11-11 23:42:00 -02:00
Georges Basile Stavracas Neto
19bd9b8a89
build: Add more files to libshelltest
These will be used by the test panels.
2018-11-11 23:42:00 -02:00
Georges Basile Stavracas Neto
62d3fb95ff
panel-loader: Allow overriding panel vtable
In order to introduce test panels, which are a nice to have
feature before actually moving to working on the custom
widget on sidebar feature, add a way to override the panels
vtable and load whatever panels we might want.
2018-11-11 23:42:00 -02:00
Georges Basile Stavracas Neto
867a35dc89
panel-loader: Simplify listing panels
Instead of enumerating them, putting that in a GList, then
iterating the GList printing the panel names, simply print
them while enumerating.
2018-11-11 23:42:00 -02:00
Georges Basile Stavracas Neto
31a5d55896
panel-loader: Reorder functions
Put the externally visible functions at the bottom, and
the static functions at the top.
2018-11-11 23:42:00 -02:00
Georges Basile Stavracas Neto
d1fe090bf4
panel-loader: Rename all_panels to default_panels 2018-11-11 23:41:59 -02:00
Georges Basile Stavracas Neto
6a50a21f40
panel-loader: Define vtable struct in the header
We will allow test panels to be added, so the vtable must
be overridable. The first step into making it overridable
is exposing the actual vtable struct.
2018-11-11 23:41:59 -02:00
Georges Basile Stavracas Neto
9d88b84788
panel-loader: Assert get_type() function
Be more strict about the get_type() availability - we cannot
run without it.
2018-11-11 23:41:59 -02:00
Georges Basile Stavracas Neto
a6c983d499
panel-loader: Use #pragma once
Saves use a few lines of code.
2018-11-11 23:41:59 -02:00
Georges Basile Stavracas Neto
81fa6f18b0
build: Alphabetically sort source files
Trivial cleanup.
2018-11-11 23:41:57 -02:00
Robert Ancell
4e6b341edc build: Update bug URL to gitlab.gnome.org 2018-11-12 09:56:16 +13:00
Kristjan SCHMIDT
f0ef74805d Update Esperanto translation 2018-11-10 23:42:26 +00:00
Alex Hirsch
b4809cd210 display: Mode compare takes interlaced into account
When changing the display mode, the apply button does not appear if the
current mode and new mode differ only in their interlaced flag.

The display mode comparison function now takes the interlaced flag into
account.
2018-11-10 20:38:02 +01:00
Robert Ancell
4e6aa67fa4 user-accounts: Fix renamed cc-add-user-dialog.c not correctly updated in POT file
This wasn't done correctly in 112b61c0ff
2018-11-10 10:08:54 +13:00
Robert Ancell
faaece85d2 user-accounts: Replace gtk_stack_set_visible_child with gtk_stack_set_visible 2018-11-10 09:39:09 +13:00
Robert Ancell
aac990aa83 user-accounts: Re-align fields in class structure 2018-11-10 09:28:23 +13:00
Robert Ancell
ad76438817 user-accounts: Focus domain entry when selecting enterprise login
And return focus correctly when switching back to local login
2018-11-10 09:24:34 +13:00
Robert Ancell
e41506798a Replace tabs with whitespace 2018-11-10 09:24:34 +13:00
Robert Ancell
3456269215 user-accounts: Remove debugging program for testing a dialog
This is not used by anyone.
2018-11-10 09:24:34 +13:00
Robert Ancell
26b0720200 user-accounts: Use gtk_dialog_run for CcAddUserDialog 2018-11-10 09:24:34 +13:00
Robert Ancell
96c2c4d62c user-accounts: Simplify how models are accessed 2018-11-10 09:24:34 +13:00
Robert Ancell
d77e3423d1 user-accounts: Use consistent naming for widgets
Remove widget IDs that are unused.
2018-11-10 09:24:33 +13:00
Robert Ancell
74cf3bcda1 user-accounts: Consolidate now simpler init functions 2018-11-10 09:24:33 +13:00
Robert Ancell
043b6dc907 user-accounts: Move CcAddUserDialog signals into .ui file 2018-11-10 09:24:33 +13:00
Robert Ancell
a4b76204ff user-accounts: Move default widget visibility and sensitivity into .ui file 2018-11-10 09:24:33 +13:00
Robert Ancell
1691cd74fc user-accounts: Move realm model into .ui file 2018-11-10 09:24:33 +13:00
Robert Ancell
550cbc2367 user-accounts: Use actual widget types in CcAddUserDialog
Instead of using GtkWidget and casting everywhere
2018-11-10 09:24:33 +13:00
Robert Ancell
112b61c0ff user-accounts: Rename UmAccountDialog to CcAddUserDialog
Um is a naming hangover from before this was part of g-c-c.
2018-11-10 09:24:33 +13:00