aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-main-window.c12
-rw-r--r--src/empathy-main-window.h2
2 files changed, 11 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)
{
diff --git a/src/empathy-main-window.h b/src/empathy-main-window.h
index 38879fb29..064086ab3 100644
--- a/src/empathy-main-window.h
+++ b/src/empathy-main-window.h
@@ -53,6 +53,8 @@ GType empathy_main_window_get_type (void);
GtkWidget *empathy_main_window_dup (void);
+void empathy_main_window_show_preferences (EmpathyMainWindow *window);
+
G_END_DECLS
#endif /* __EMPATHY_MAIN_WINDOW_H__ */