Commit graph

224 commits

Author SHA1 Message Date
Debarshi Ray
29bd627bb3 online-accounts: Use a header bar for the "Add Account" dialog
Even though this is an action dialog, and not a presentation dialog,
as defined in the HIG [1], there is no need for action buttons when
showing the initial list because the list is single-click.

[1] https://wiki.gnome.org/Design/HIG/Dialogs

https://bugzilla.gnome.org/show_bug.cgi?id=730080
2014-05-21 18:07:11 +02:00
Volker Sobek
f4dcf9984e online-accounts: Set max width in chars for label
Set a limit of 40 chars to the label explaining the panel when no
accounts have been added yet. This prevents the label from expanding
itself and the whole window arbitrarily.

https://bugzilla.gnome.org/show_bug.cgi?id=720188
2014-03-03 10:51:11 +01:00
Daniel Mustieles
2c5951819d Updated FSF's address 2014-01-29 11:27:38 +01:00
Bastien Nocera
a3c2f75f33 online-accounts: Mention Pocket in the keywords
https://bugzilla.gnome.org/show_bug.cgi?id=704564
2014-01-13 17:34:15 +01:00
Yosef Or Boczko
6e8a7e942f online-accounts: Use margin-start/end instead of margin-left/right
https://bugzilla.gnome.org/show_bug.cgi?id=712661
2013-11-19 22:30:42 +02:00
Jasper St. Pierre
dd52ac9417 Add NoDisplay to all gnome-control-center panel .desktop files
These aren't apps -- they're simply launchers for gnome-control-center.
They should not be shown as apps in the UI at all.

https://bugzilla.gnome.org/show_bug.cgi?id=712246
2013-11-15 08:44:53 -05:00
Rui Matos
9288bbbffc online-accounts: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:03 +02:00
Debarshi Ray
52a3f0a99e online-accounts: Increase the height of the "Add Account" dialog
... to accommodate the list of Chat providers.

https://bugzilla.gnome.org/show_bug.cgi?id=707285
2013-09-03 13:27:38 +02: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
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
Jonh Wendell
88bdd191a3 online-accounts: proper align the 'No accounts' label
use the default label align, "FILL", instead of "CENTER". this
fixes some issues in languages like zh_TW.

https://bugzilla.gnome.org/show_bug.cgi?id=705354
2013-08-02 13:38:31 -03:00
Yosef Or Boczko
a9f6f69f70 online-accounts: drop GtkStock
https://bugzilla.gnome.org/show_bug.cgi?id=704178
2013-07-19 15:57:12 +03:00
Alexander Larsson
0f77c516b8 online-accounts: Convert to GtkListBox
https://bugzilla.gnome.org/show_bug.cgi?id=702164
2013-07-02 16:19:09 +01:00
Matthias Clasen
16c2a04e5e Add context to some translated strings
We are using "Other" in various contexts that may require
different translations.
https://bugzilla.gnome.org/show_bug.cgi?id=697211
2013-05-18 18:05:18 -04:00
Bastien Nocera
01721eb622 online-accounts: Use GtkStack instead of GdStack 2013-04-24 11:11:55 +02:00
Emanuele Aina
8762e2f8dc online-accounts: Accept requests for account creation on DBus/cmdline
Also accepts additional data to pre-seed the GOA dialog, in particular
the provider name (eg. 'google') and provider-specific data encoded in a
a GVariant dict ('a{sv}') to eg. pass cookies from an existing web
session (this is only available from DBus activation).

It can be run from the command line as:
 $ gnome-control-center online-accounts add google

https://bugzilla.gnome.org/show_bug.cgi?id=694315
2013-04-23 18:32:59 +02:00
Baptiste Mille-Mathias
0e58ba28fc online-accounts: Add ownCloud to keywords
https://bugzilla.gnome.org/show_bug.cgi?id=698390
2013-04-22 10:12:18 +02:00
Emanuele Aina
31a8a99440 shell: Let panels have their own commandline flags
Add a class method to CcPanel to get a GOptionGroup which will be added
to the main commandline parser. This gives panels the chance to have
commandline "--flags" in addition to the already available parameters.

This changes changes the way parameters are passed to panels: the first
entry in the GVariant array is always the a{sv} dictionary of
commandline flags, followed by the remaining free-form arguments.

https://bugzilla.gnome.org/show_bug.cgi?id=696054
2013-04-03 18:09:11 +02:00
Emanuele Aina
9977bb200e shell: Use GVariant to convey panel arguments instead of a string array
By using a GVariant of type "av" we can potentially pass more structured
data to panels, which will become relevant with the ability to invoke
them by GAction-based DBus-activation introduced in the following patch.

https://bugzilla.gnome.org/show_bug.cgi?id=696054
2013-04-03 18:02:10 +02:00
Emanuele Aina
397181e5d2 online-accounts: Small cleanup about resource releasing
Use g_clear_object() as a NULL-safe g_object_unref() and
g_list_free_full() instead of explicitly iterating the list contents.

https://bugzilla.gnome.org/show_bug.cgi?id=695877
2013-04-03 16:05:17 +02:00
Cosimo Cecchi
bd3e9fa4f6 online-accounts: transition add account dialog pages
This got lost in the previous commit.
2013-03-19 12:50:33 -04:00
Debarshi Ray
48a9df92c3 online-accounts: Scroll the tree view when showing an account
https://bugzilla.gnome.org/show_bug.cgi?id=695171
2013-03-19 14:24:31 +01:00
Debarshi Ray
0641c2494b online-accounts: New "Other" providers page
This is meant to differentiate the popular branded providers from the
other less popular or more generic ones.

Implemented design:
https://live.gnome.org/Design/SystemSettings/OnlineAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=688056
2013-03-05 11:28:20 +01:00
Debarshi Ray
271ae25c3a online-accounts: Colours of symbolics should match the text
https://bugzilla.gnome.org/show_bug.cgi?id=695171
2013-03-05 11:21:56 +01:00
Ebru Akagunduz
f2818405ab online-accounts: Nicer error states
https://bugzilla.gnome.org/show_bug.cgi?id=689645
2013-02-27 17:27:34 +01:00
Allan Day
58a1c4ba5e online-accounts: Update panel comments
Very few of the panel comments provide information that is very
useful. Update them to supplement the panel descriptions - this
will make the search results more helpful.

https://bugzilla.gnome.org/show_bug.cgi?id=694110
2013-02-19 10:41:43 +01:00
Debarshi Ray
d58d426d34 online-accounts: Use g_warning instead of goa_warning
goa_warning is meant for goa-daemon, and it does not really add any
value in this case. Switching to g_warning lets us cut down on the
number of symbols that are exported from libgoabackend.

https://bugzilla.gnome.org/show_bug.cgi?id=693261
2013-02-07 12:59:00 +01:00
Debarshi Ray
4a86ebff50 online-accounts: Replace the hacked up GtkTreeView with a EggListBox
https://bugzilla.gnome.org/show_bug.cgi?id=692442
2013-01-28 13:11:15 +01:00
Debarshi Ray
6b0ec0038c online-accounts: #include the resource header
This is a fallout from 0653773ed8.
2013-01-23 15:12:28 +01:00
Cosimo Cecchi
8d5f2908b5 panels: add --sourcedir=$(srcdir) when generating resource list
Like b8e93fb333 but for all panels.
2013-01-07 16:23:57 -05:00
Cosimo Cecchi
0653773ed8 online-accounts: use a GResource for GtkBuilder UI definition
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:06 +01:00
Matthias Clasen
3d27d8caaf shell: Fittsify panels
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.

https://bugzilla.gnome.org/show_bug.cgi?id=691229
2013-01-07 10:51:29 +01:00
Bastien Nocera
e419ee7d4e panels: Remove unused X-GNOME-Settings-Panel key 2012-12-11 17:09:04 +01:00
Bastien Nocera
3686cf7eb8 shell: Make all control-center plugins static
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.

By the same token, it will stop external panels from being
created, and loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=690036
2012-12-11 17:07:39 +01:00
Ebru Akagunduz
c5fbe9a396 online-accounts: Disable adding accounts when network unavailable
Fixes: https://bugzilla.gnome.org/678161
2012-12-04 14:25:28 +01:00
Ebru Akagunduz
ff186736dc online-accounts: Bind "accounts-button-add" to network availability
Fixes: https://bugzilla.gnome.org/678161
2012-12-03 13:14:34 +01:00
Debarshi Ray
9b26f2410a online-accounts: Align the accounts list with the all settings button
Fixes: https://bugzilla.gnome.org/668312
2012-11-10 18:42:01 +01:00
Debarshi Ray
704f70ae77 online-accounts: Don't preselect the first item when adding an account
Fixes: https://bugzilla.gnome.org/687875
2012-11-09 20:03:14 +01:00
Bastien Nocera
4a993e753a online-accounts: Remove unneeded signal disconnections
Those signals will not be emitted anymore, as the objects that
could emit them will be destroyed.

Fixes a warning on exit, as panel->accounts_treeview is already
destroyed when we get there.

https://bugzilla.gnome.org/show_bug.cgi?id=684702
2012-09-25 11:31:36 +02:00
Debarshi Ray
b68b6d84cd online-accounts: Get rid of extra "Add Account" label
Back in the day when titles were not shown for modal dialogs we added
the big "Add Account" label. Now that modal dialogs have titles, we
don't need it anymore.

Fixes: https://bugzilla.gnome.org/684013
2012-09-14 13:38:06 +02:00
Ray Strode
b0e7a5efa8 panels: add register macro
Bastien says he doesn't like the blank class_finalize
functions in every panel and he would like a wrapper
macro to hide them.

This commit does that.
2012-08-21 14:32:33 -04:00
Ray Strode
3bf8bcf3f8 online-accounts: set up finalize handler at class init time
It was being set up at class finalization time, which is too late.

Fixes crash when switching from panel to shell and back
(and then try to interact with the switches).

https://bugzilla.gnome.org/show_bug.cgi?id=682379
2012-08-21 13:37:54 -04:00
Debarshi Ray
06ede122ab online-accounts: Don't show spurious "No online accounts configured"
Programmatically deleting or inserting a row into a GtkTreeModel
implementation does not change the selection on the GtkTreeView even
if it is in browse mode (see GTK+ documentation). So, we need to
connect to the model's row-deleted and row-inserted signals and adjust
the selection ourselves.

Fixes: https://bugzilla.gnome.org/682175
2012-08-21 19:17:30 +02:00
Matthew Barnes
7dd80f829f online-accounts: Open specific account through command-line
Bump required GOA version to 3.5.90 for goa_client_lookup_by_id.

Fixes: https://bugzilla.gnome.org/680458
2012-08-18 20:19:15 +01:00
Debarshi Ray
8138227ae3 online-accounts: Improve the layout when there is no configured account
Use a GtkButton instead of a GtkLabel to incite the user to configure
a new account, and insensitize the GtkBox on the left.

Fixes: https://bugzilla.gnome.org/672421
2012-06-25 16:18:39 +02:00
Debarshi Ray
c920ba6d4f online-accounts: The treeview should be in BROWSE mode and not SINGLE
This ensures that if there are configured accounts, then atleast one
of them will stay selected.

Fixes: https://bugzilla.gnome.org/672421
2012-06-21 14:48:51 +02:00