aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-main-window.c
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-02 23:40:51 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-04 17:10:19 +0800
commit4f8ce5f258a290f00fc0ebbf13f5e3db3b0b45bd (patch)
tree1a9533bd3c8e95cdc0b2f2e7d2bcd4ca911ebfb5 /src/empathy-main-window.c
parent726b480efacd222976fe99200598b294ff8686b8 (diff)
downloadgsoc2013-empathy-4f8ce5f258a290f00fc0ebbf13f5e3db3b0b45bd.tar
gsoc2013-empathy-4f8ce5f258a290f00fc0ebbf13f5e3db3b0b45bd.tar.gz
gsoc2013-empathy-4f8ce5f258a290f00fc0ebbf13f5e3db3b0b45bd.tar.bz2
gsoc2013-empathy-4f8ce5f258a290f00fc0ebbf13f5e3db3b0b45bd.tar.lz
gsoc2013-empathy-4f8ce5f258a290f00fc0ebbf13f5e3db3b0b45bd.tar.xz
gsoc2013-empathy-4f8ce5f258a290f00fc0ebbf13f5e3db3b0b45bd.tar.zst
gsoc2013-empathy-4f8ce5f258a290f00fc0ebbf13f5e3db3b0b45bd.zip
MainWindow: add API to show the preferences window
https://bugzilla.gnome.org/show_bug.cgi?id=655884
Diffstat (limited to 'src/empathy-main-window.c')
-rw-r--r--src/empathy-main-window.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index a9e76a286..4aa720a0b 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -1875,9 +1875,8 @@ main_window_edit_blocked_contacts_cb (GtkAction *action,
G_CALLBACK (gtk_widget_destroy), NULL);
}
-static void
-main_window_edit_preferences_cb (GtkAction *action,
- EmpathyMainWindow *window)
+void
+empathy_main_window_show_preferences (EmpathyMainWindow *window)
{
EmpathyMainWindowPriv *priv = GET_PRIV (window);
@@ -1893,6 +1892,13 @@ main_window_edit_preferences_cb (GtkAction *action,
}
static void
+main_window_edit_preferences_cb (GtkAction *action,
+ EmpathyMainWindow *window)
+{
+ empathy_main_window_show_preferences (window);
+}
+
+static void
main_window_help_about_cb (GtkAction *action,
EmpathyMainWindow *window)
{