aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-05-31 00:16:04 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-05-31 00:16:04 +0800
commit4a535bcccc240a69f4db0ba459e548c010ef231a (patch)
tree88b412f51bc13793025d756794ddac0d08f2efb5
parent655bda13bec0758e291a0f1578568aeef1f7dda1 (diff)
downloadgsoc2013-evolution-4a535bcccc240a69f4db0ba459e548c010ef231a.tar
gsoc2013-evolution-4a535bcccc240a69f4db0ba459e548c010ef231a.tar.gz
gsoc2013-evolution-4a535bcccc240a69f4db0ba459e548c010ef231a.tar.bz2
gsoc2013-evolution-4a535bcccc240a69f4db0ba459e548c010ef231a.tar.lz
gsoc2013-evolution-4a535bcccc240a69f4db0ba459e548c010ef231a.tar.xz
gsoc2013-evolution-4a535bcccc240a69f4db0ba459e548c010ef231a.tar.zst
gsoc2013-evolution-4a535bcccc240a69f4db0ba459e548c010ef231a.zip
Connect about_box_event_callback() to the "key_press_event" signal as
* e-shell-view-menu.c (command_about_box): Connect about_box_event_callback() to the "key_press_event" signal as well. This way the about box is closed when you press a key too. [#25349] svn path=/trunk/; revision=17044
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-shell-view-menu.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 2df5e5b634..8cac5c663a 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,10 @@
+2002-05-30 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-shell-view-menu.c (command_about_box): Connect
+ about_box_event_callback() to the "key_press_event" signal as
+ well. This way the about box is closed when you press a key too.
+ [#25349]
+
2002-05-28 Chris Toshok <toshok@ximian.com>
* e-folder-list.c (e_folder_list_set_items): skip folders that
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 38b7cd9586..5c0a463041 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -219,6 +219,8 @@ command_about_box (BonoboUIComponent *uih,
about_box_window = gtk_window_new (GTK_WINDOW_DIALOG);
gtk_window_set_policy (GTK_WINDOW (about_box_window), FALSE, FALSE, FALSE);
+ gtk_signal_connect (GTK_OBJECT (about_box_window), "key_press_event",
+ GTK_SIGNAL_FUNC (about_box_event_callback), &about_box_window);
gtk_signal_connect (GTK_OBJECT (about_box_window), "button_press_event",
GTK_SIGNAL_FUNC (about_box_event_callback), &about_box_window);
gtk_signal_connect (GTK_OBJECT (about_box_window), "delete_event",