summaryrefslogtreecommitdiff
path: root/finch/gntstatus.c
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@pidgin.im>2007-06-28 18:52:26 +0000
committerSadrul Habib Chowdhury <sadrul@pidgin.im>2007-06-28 18:52:26 +0000
commitb1a668722be04b60ca218142768e3f32c30fb3a6 (patch)
treea4a12578459396604f2c7d4f2d6af82b5747a908 /finch/gntstatus.c
parent15a7c5dd23c63a7c11a69f606f9095c0a3f40278 (diff)
downloadpidgin-b1a668722be04b60ca218142768e3f32c30fb3a6.tar.gz
If the action-windows are already there, then bring them to front when
requested.
Diffstat (limited to 'finch/gntstatus.c')
-rw-r--r--finch/gntstatus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/finch/gntstatus.c b/finch/gntstatus.c
index 2f44bfa572..9c7f7a70d2 100644
--- a/finch/gntstatus.c
+++ b/finch/gntstatus.c
@@ -163,8 +163,10 @@ edit_savedstatus_cb(GntWidget *widget, gpointer null)
void finch_savedstatus_show_all()
{
GntWidget *window, *tree, *box, *button;
- if (statuses.window)
+ if (statuses.window) {
+ gnt_window_present(statuses.window);
return;
+ }
statuses.window = window = gnt_vbox_new(FALSE);
gnt_box_set_toplevel(GNT_BOX(window), TRUE);