diff options
author | JP Rosevear <jpr@ximian.com> | 2002-04-07 04:00:51 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2002-04-07 04:00:51 +0800 |
commit | fc85f0ce4510cdc694b198f52d377c6d63056997 (patch) | |
tree | bc0dc555ee550a6b75d69b87f9f2135f631e2fdd /shell/e-shell-view-menu.c | |
parent | 5be9af3b1397813d56b7760ad241b8fd3ccfcff3 (diff) | |
download | gsoc2013-evolution-fc85f0ce4510cdc694b198f52d377c6d63056997.tar gsoc2013-evolution-fc85f0ce4510cdc694b198f52d377c6d63056997.tar.gz gsoc2013-evolution-fc85f0ce4510cdc694b198f52d377c6d63056997.tar.bz2 gsoc2013-evolution-fc85f0ce4510cdc694b198f52d377c6d63056997.tar.lz gsoc2013-evolution-fc85f0ce4510cdc694b198f52d377c6d63056997.tar.xz gsoc2013-evolution-fc85f0ce4510cdc694b198f52d377c6d63056997.tar.zst gsoc2013-evolution-fc85f0ce4510cdc694b198f52d377c6d63056997.zip |
set type (load_pages): get the oaf property for type and track the page
2002-04-06 JP Rosevear <jpr@ximian.com>
* e-shell-settings-dialog.c (page_new): set type
(load_pages): get the oaf property for type and track the page
number of the highest priority for each type
(destroy_type_entry): destroy hash func
(impl_destroy): destroy the hash table
(init): create private struct and hash table
(e_shell_settings_dialog_show_type): show the page of the given
type
* e-shell-view-menu.c (command_settings): show the page for the
current folder type by default
* e-shell-settings-dialog.h: new proto
svn path=/trunk/; revision=16376
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r-- | shell/e-shell-view-menu.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index f460d427e8..236044ae0c 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -589,11 +589,14 @@ command_settings (BonoboUIComponent *uih, { 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); |