aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/e-shell-window.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 5c743f210a..e74c46d17e 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,9 @@
+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
+
2004-04-22 Trent Lloyd <lathiat@bur.st>
* e-sidebar.c (do_layout_text_buttons): take into account the position
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);
}