aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-04-23 23:14:27 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-04-23 23:14:27 +0800
commitcce69a908c9a5c558495f90051cc4c347740bbcd (patch)
tree3f4ce148980df7c5198283c04b9ff697d0b22c1c /shell/e-shell-window.c
parent29ae6d264900df2697d04db94abbca356e6216f1 (diff)
downloadgsoc2013-evolution-cce69a908c9a5c558495f90051cc4c347740bbcd.tar.gz
gsoc2013-evolution-cce69a908c9a5c558495f90051cc4c347740bbcd.tar.zst
gsoc2013-evolution-cce69a908c9a5c558495f90051cc4c347740bbcd.zip
if there is a current view, use the component alias to select a sensible
2004-04-23 JP Rosevear <jpr@ximian.com> * e-shell-window.c (e_shell_window_show_settings): if there is a current view, use the component alias to select a sensible default config control svn path=/trunk/; revision=25600
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r--shell/e-shell-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index 592b20688f..d61ef54822 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -824,7 +824,7 @@ e_shell_window_show_settings (EShellWindow *window)
{
g_return_if_fail (E_IS_SHELL_WINDOW (window));
- e_shell_show_settings (window->priv->shell, NULL, window);
+ e_shell_show_settings (window->priv->shell, window->priv->current_view ? window->priv->current_view->component_alias : NULL, window);
}