summaryrefslogtreecommitdiff
path: root/src/trg-main-window.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-13 21:45:01 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-13 21:45:01 +0000
commit60a8d90366771e4b74837b0a2ecaee674630c396 (patch)
tree8cec0f56fb5bd09590a17767952c8a8d97dfa5ff /src/trg-main-window.c
parent8be537ef80ec6e211bae5a67b99af74bb744c453 (diff)
emit a profile changed signal even if reconnecting to the same profile. otherwise, the menu item in the toolbar gets unchecked after being activated.
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r--src/trg-main-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c
index c1af8d3..63a81b1 100644
--- a/src/trg-main-window.c
+++ b/src/trg-main-window.c
@@ -464,6 +464,8 @@ void connect_cb(GtkWidget * w, gpointer data) {
if (profile && currentProfile != profile)
trg_prefs_set_profile(prefs, profile);
+ else
+ trg_prefs_profile_change_emit_signal(prefs);
populate_result = trg_client_populate_with_settings(priv->client);