aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2000-11-02 08:31:17 +0800
committerIain Holmes <iain@src.gnome.org>2000-11-02 08:31:17 +0800
commit35162bcd8728297bff435a5592328051fd1df211 (patch)
treeec3fdc3eb65972e87a8f036a3c78448a2da18f34 /shell/e-shell-view.c
parent0fa29927fc5a0913388dc8fbc4a9b816c0a11119 (diff)
downloadgsoc2013-evolution-35162bcd8728297bff435a5592328051fd1df211.tar
gsoc2013-evolution-35162bcd8728297bff435a5592328051fd1df211.tar.gz
gsoc2013-evolution-35162bcd8728297bff435a5592328051fd1df211.tar.bz2
gsoc2013-evolution-35162bcd8728297bff435a5592328051fd1df211.tar.lz
gsoc2013-evolution-35162bcd8728297bff435a5592328051fd1df211.tar.xz
gsoc2013-evolution-35162bcd8728297bff435a5592328051fd1df211.tar.zst
gsoc2013-evolution-35162bcd8728297bff435a5592328051fd1df211.zip
Moving the executive summarys now :)
Added a way to change the window title and the current view from Components mail-summary now has clickable names to change to that view executive summary remembers what components are running when you close. Selections are not cleared by ES updates. svn path=/trunk/; revision=6329
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index d75ba021d0..45f4fa0ef7 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -797,6 +797,34 @@ shell_view_interface_unset_message_cb (EvolutionShellView *shell_view,
stop_progress_bar (E_SHELL_VIEW (data));
}
+static void
+shell_view_interface_change_current_view_cb (EvolutionShellView *shell_view,
+ const char *uri,
+ void *data)
+{
+ EShellView *view;
+
+ view = E_SHELL_VIEW (data);
+
+ g_return_if_fail (view != NULL);
+
+ e_shell_view_display_uri (view, uri);
+}
+
+static void
+shell_view_interface_set_title (EvolutionShellView *shell_view,
+ const char *title,
+ void *data)
+{
+ EShellView *view;
+
+ view = E_SHELL_VIEW (data);
+
+ g_return_if_fail (view != NULL);
+
+ gtk_window_set_title (GTK_WINDOW (view), title);
+}
+
EShellView *
e_shell_view_construct (EShellView *shell_view,
@@ -1066,6 +1094,12 @@ setup_evolution_shell_view_interface (EShellView *shell_view,
gtk_signal_connect_while_alive (GTK_OBJECT (shell_view_interface), "unset_message",
GTK_SIGNAL_FUNC (shell_view_interface_unset_message_cb),
shell_view, GTK_OBJECT (shell_view));
+ gtk_signal_connect_while_alive (GTK_OBJECT (shell_view_interface), "change_current_view",
+ GTK_SIGNAL_FUNC (shell_view_interface_change_current_view_cb),
+ shell_view, GTK_OBJECT (shell_view));
+ gtk_signal_connect_while_alive (GTK_OBJECT (shell_view_interface), "set_title",
+ GTK_SIGNAL_FUNC (shell_view_interface_set_title),
+ shell_view, GTK_OBJECT (shell_view));
bonobo_object_add_interface (BONOBO_OBJECT (control_frame),
BONOBO_OBJECT (shell_view_interface));