Commit graph

31 commits

Author SHA1 Message Date
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
Debarshi Ray
651431dd83 online-accounts: We might have an object even when the error is set
Fixes: https://bugzilla.gnome.org/674165
2012-06-20 15:05:26 +02:00
Cosimo Cecchi
a1abae0375 online-accounts: make "Add Account" label bigger and centered
So it's consistent with the User Accounts panel.

https://bugzilla.gnome.org/show_bug.cgi?id=678174
2012-06-15 11:36:21 -04:00
Cosimo Cecchi
b40c1fb2cf online-accounts: fix alignment with closing button
https://bugzilla.gnome.org/show_bug.cgi?id=678174
2012-06-15 11:36:21 -04:00
Debarshi Ray
f86d8eb26c online-accounts: Remove horizontal scrolling from accounts list
We have enough space. Therefore, instead of having horizontal
scrollbars, widen the text renderer and then ellipsize, if required.

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

Fixes: https://bugzilla.gnome.org/671980
2012-06-06 14:24:31 +02:00
Debarshi Ray
93051830a7 online-accounts: New "Add Account" dialog
Implemented design:
https://live.gnome.org/Design/SystemSettings/OnlineAccounts

Fixes: https://bugzilla.gnome.org/671980
2012-06-06 14:23:57 +02:00
Debarshi Ray
8ba96c7daf online-accounts: Don't hardcode the text color
With hard coded colors, when an account is selected in the tree view,
the text shows up as black on blue, instead of white on blue.

Fixes: https://bugzilla.gnome.org/671980
2012-06-04 21:10:18 +02:00
Florian Müllner
4b72311259 online-accounts: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:37 +02:00
Debarshi Ray
3ae795ea6e online-accounts: goa_provider_show_account now expects GtkGrids, not GtkTable
Fixes: https://bugzilla.gnome.org/669625
2012-04-19 17:05:24 +02:00
Debarshi Ray
d609276343 online-accounts: Fix spacing and alignment when showing accounts
Implemented design:
http://ur1.ca/8m05c
https://live.gnome.org/Design/SystemSettings/OnlineAccounts

Fixes: https://bugzilla.gnome.org/671980
2012-04-19 17:04:52 +02:00
Robert Ancell
9ad6edadf5 online-accounts: Replace deprecated GtkTable with GtkGrid (GOA code must continue to use GtkTable until GOA is updated)
https://bugzilla.gnome.org/show_bug.cgi?id=669626
2012-02-08 12:11:01 +00:00
Florian Müllner
4cd7b6c6dc .desktop: Drop prefix from X-GNOME-Keywords
The field has now been included in the spec, so use the standardized
name.
2011-12-19 16:26:40 +01:00
Bastien Nocera
6665b60422 panels: Update for Shell API changes 2011-11-07 18:03:14 +00:00
Bastien Nocera
ce58a78d26 online-accounts: Add label to toolbar items 2011-10-25 17:38:55 +01:00
Bastien Nocera
0df2ab0da7 online-accounts: Add title for "Add Account" dialogue
https://bugzilla.gnome.org/show_bug.cgi?id=661573
2011-10-13 10:33:37 +01:00
Alberto Ruiz
3630015d94 Update icon cache only on MAINTAINER_MODE 2011-10-05 16:45:13 +01:00
Cosimo Cecchi
2621a965c5 online-accounts: don't use a GtkTable to arrange widgets
Use simple GtkBox widgets instead.
GtkTable does not support nth-child() constructs for CSS, so the theme
is not able to match the inline toolbar with selectors like

.inline-toolabr.toolbar:nth-child(last) {
}

which are used to change the rounded corners/top border width.

https://bugzilla.gnome.org/show_bug.cgi?id=658964
2011-09-14 13:33:58 -04:00
Bastien Nocera
d0601dd417 online-accounts: Remove code duplicated from .ui 2011-09-13 23:34:57 +01:00
Matthias Clasen
a53ebeb6f0 Online accounts: avoid an extraneous unref
When bailing out early, the cleanup path is unreffing the provider
because the variable was used in the loop. We need to set it back
to NULL there.

https://bugzilla.gnome.org/show_bug.cgi?id=657819
2011-09-04 16:49:14 -04:00
Bastien Nocera
0d5e938ddf panel: Disable buttons when D-Bus service not available
https://bugzilla.gnome.org/show_bug.cgi?id=652572
2011-08-26 11:57:16 +01:00
Michael Terry
0a8669a5b5 Add Unity to OnlyShowIn fields
https://bugzilla.gnome.org/show_bug.cgi?id=653661
2011-06-30 12:44:52 +01:00
Bastien Nocera
89ae22a334 online-accounts: Add missing UI file 2011-06-25 02:56:54 +01:00
Bastien Nocera
c280c3b18d online-accounts: goa-account icons back in goa 2011-06-24 16:31:23 +01:00
Bastien Nocera
0786539969 online-accounts: Use newly added component in BZ 2011-06-24 15:46:56 +01:00
Bastien Nocera
896b5e87d9 online-accounts: Add panel for gnome-online-accounts
https://bugzilla.gnome.org/show_bug.cgi?id=653334
2011-06-24 15:43:03 +01:00