aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-04-19 02:57:45 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-04-19 02:57:45 +0800
commitbd6359c660895ea0765c216563957c3a2f44e112 (patch)
treedebd12250550fe90aed6a37ec6455ea4dd479f7f /shell/e-shell-view-menu.c
parentb997798e3573be6e4e8051807ca66a03756d4bec (diff)
downloadgsoc2013-evolution-bd6359c660895ea0765c216563957c3a2f44e112.tar.gz
gsoc2013-evolution-bd6359c660895ea0765c216563957c3a2f44e112.tar.zst
gsoc2013-evolution-bd6359c660895ea0765c216563957c3a2f44e112.zip
emit show_settings signal (corba_class_init): assign epv method
2002-04-18 JP Rosevear <jpr@ximian.com> * evolution-shell-view.c (impl_ShellView_show_settings): emit show_settings signal (corba_class_init): assign epv method (class_init): add signal * evolution-shell-view.h: new signal * e-shell.c (init): init settings_dialog private member (settings_dialog_destroy_cb): reset dialog pointer (e_shell_show_settings): show the settings dialog, bring it to the front if one already exists for this shell * e-shell.h: new proto * e-shell-view.c (corba_interface_show_settings): implement showSettings method (setup_corba_interface): listen for show_settings signal (e_shell_view_show_settings): show the settings dialog * e-shell-view.h: new proto * e-shell-view-menu.c (command_settings): call e_shell_view_show_settings instead * Evolution-ShellView.idl: add showSettings method svn path=/trunk/; revision=16510
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 236044ae0c..5869048abf 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -33,8 +33,6 @@
#include "e-shell-folder-creation-dialog.h"
#include "e-shell-folder-selection-dialog.h"
-#include "e-shell-settings-dialog.h"
-
#include "e-shell-constants.h"
#include "e-shell-importer.h"
@@ -588,18 +586,10 @@ command_settings (BonoboUIComponent *uih,
const char *path)
{
EShellView *shell_view;
- GtkWidget *dialog;
- const char *type;
shell_view = E_SHELL_VIEW (data);
- type = e_shell_view_get_current_folder_type (shell_view);
- dialog = e_shell_settings_dialog_new ();
- e_shell_settings_dialog_show_type (E_SHELL_SETTINGS_DIALOG (dialog), type);
-
- gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (shell_view));
-
- gtk_widget_show (dialog);
+ e_shell_view_show_settings (shell_view);
}
static void