After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 670203 - empathy-accounts improvements
empathy-accounts improvements
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: Accounts
2.33.x
Other Linux
: Normal enhancement
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks: 652669
 
 
Reported: 2012-02-16 11:31 UTC by Guillaume Desmottes
Modified: 2012-02-16 13:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
accounts-dialog: don't automatically open the add account (1.26 KB, patch)
2012-02-16 11:32 UTC, Guillaume Desmottes
committed Details | Review
accounts-dialog: remove hbox_protocol (3.08 KB, patch)
2012-02-16 11:32 UTC, Guillaume Desmottes
committed Details | Review
accounts-dialog: move the 'no protocol' message to a different page (6.77 KB, patch)
2012-02-16 11:32 UTC, Guillaume Desmottes
committed Details | Review
accounts_dialog_add_account: select if that's the first account added (1.73 KB, patch)
2012-02-16 11:32 UTC, Guillaume Desmottes
committed Details | Review
accounts-dialog: improve the 'no protocol installed' message (1.09 KB, patch)
2012-02-16 12:01 UTC, Guillaume Desmottes
committed Details | Review

Description Guillaume Desmottes 2012-02-16 11:31:06 UTC
As part of my work on bug #652669 I did some improvements on the accounts dialog.
Comment 1 Guillaume Desmottes 2012-02-16 11:32:42 UTC
Created attachment 207750 [details] [review]
accounts-dialog: don't automatically open the add account

This legacy code isn't used since a while as the assistant is displayed if
there is no account.
Comment 2 Guillaume Desmottes 2012-02-16 11:32:44 UTC
Created attachment 207751 [details] [review]
accounts-dialog: remove hbox_protocol

It's not used any more since we moved adding account to a separated dialog.
Comment 3 Guillaume Desmottes 2012-02-16 11:32:48 UTC
Created attachment 207752 [details] [review]
accounts-dialog: move the 'no protocol' message to a different page

It's cleaner that way
Comment 4 Guillaume Desmottes 2012-02-16 11:32:51 UTC
Created attachment 207753 [details] [review]
accounts_dialog_add_account: select if that's the first account added

This ensures we'll select the first imported account.
Comment 5 Will Thompson 2012-02-16 11:51:29 UTC
Review of attachment 207750 [details] [review]:

Okay.
Comment 6 Will Thompson 2012-02-16 11:52:03 UTC
Review of attachment 207751 [details] [review]:

Okay.
Comment 7 Will Thompson 2012-02-16 11:52:04 UTC
Review of attachment 207751 [details] [review]:

Okay.
Comment 8 Will Thompson 2012-02-16 11:52:04 UTC
Review of attachment 207751 [details] [review]:

Okay.
Comment 9 Will Thompson 2012-02-16 11:54:02 UTC
Review of attachment 207752 [details] [review]:

Yup yup, I like these kinds of notebooks.

::: src/empathy-accounts-dialog.ui
@@ +218,3 @@
+                  <object class="GtkLabel" id="label_no_protocol">
+                    <property name="visible">True</property>
+                    <property name="left_padding">12</property>

I know this isn't new, but protocol should really be plural, and this message should probably be “No protocol backends installed” (it's not the protocols you install, it's the backends). But if you want to minimize translation churn for this relative edge case, leave it. :)
Comment 10 Will Thompson 2012-02-16 11:54:47 UTC
Review of attachment 207753 [details] [review]:

::: src/empathy-accounts-dialog.c
@@ +1870,3 @@
   if (!accounts_dialog_get_account_iter (dialog, account, &iter))
     {
+      /* Select the account if that's the first added */

s/that's/it's/.
Comment 11 Guillaume Desmottes 2012-02-16 12:01:36 UTC
Review of attachment 207752 [details] [review]:

::: src/empathy-accounts-dialog.ui
@@ +218,3 @@
+                  <object class="GtkLabel" id="label_no_protocol">
+                    <property name="visible">True</property>
+                    <property name="left_padding">12</property>

That's fine. I added a commit changing the message.
Comment 12 Guillaume Desmottes 2012-02-16 12:01:50 UTC
Created attachment 207757 [details] [review]
accounts-dialog: improve the 'no protocol installed' message
Comment 13 Guillaume Desmottes 2012-02-16 12:02:58 UTC
Review of attachment 207753 [details] [review]:

::: src/empathy-accounts-dialog.c
@@ +1870,3 @@
   if (!accounts_dialog_get_account_iter (dialog, account, &iter))
     {
+      /* Select the account if that's the first added */

Thanks, fixed.
Comment 14 Guillaume Desmottes 2012-02-16 13:11:19 UTC
Attachment 207750 [details] pushed as ce4c4dc - accounts-dialog: don't automatically open the add account
Attachment 207751 [details] pushed as 7b55432 - accounts-dialog: remove hbox_protocol
Attachment 207752 [details] pushed as 55fab80 - accounts-dialog: move the 'no protocol' message to a different page
Attachment 207753 [details] pushed as 4adfd6f - accounts_dialog_add_account: select if that's the first account added
Attachment 207757 [details] pushed as 3c51d10 - accounts-dialog: improve the 'no protocol installed' message