Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
f2832e7d
Commit
f2832e7d
authored
13 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #9490: gnome: fixed account add behaviour
parent
454d6502
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnome/src/config/accountlistconfigdialog.c
+12
-9
12 additions, 9 deletions
gnome/src/config/accountlistconfigdialog.c
with
12 additions
and
9 deletions
gnome/src/config/accountlistconfigdialog.c
+
12
−
9
View file @
f2832e7d
...
...
@@ -142,13 +142,6 @@ static void edit_account_cb(GtkButton *button UNUSED, gpointer data)
g_free
(
selected_accountID
);
}
static
void
add_account_cb
(
void
)
{
account_t
*
new_account
=
create_default_account
();
account_list_add
(
new_account
);
run_account_dialog
(
new_account
->
accountID
);
}
static
void
account_store_add
(
GtkTreeIter
*
iter
,
account_t
*
account
)
{
const
gchar
*
enabled
=
account_lookup
(
account
,
ACCOUNT_ENABLED
);
...
...
@@ -165,10 +158,12 @@ static void account_store_add(GtkTreeIter *iter, account_t *account)
}
/**
* Fills the treelist with accounts
* Fills the treelist with accounts, should be called whenever the account
* list is modified.
*/
void
account_store_fill
()
static
void
account_store_fill
()
{
RETURN_IF_NULL
(
account_list_dialog
,
"No account dialog"
);
gtk_list_store_clear
(
account_store
);
...
...
@@ -195,6 +190,14 @@ void account_store_fill()
}
}
static
void
add_account_cb
(
void
)
{
account_t
*
new_account
=
create_default_account
();
account_list_add
(
new_account
);
run_account_dialog
(
new_account
->
accountID
);
account_store_fill
();
}
/**
* Call back when the user click on an account in the list
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment