[anjal] BUGFIX: Moblin Bugzilla #4727 - Backspace accidentally kills tabs
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] BUGFIX: Moblin Bugzilla #4727 - Backspace accidentally kills tabs
- Date: Mon, 27 Jul 2009 11:39:33 +0000 (UTC)
commit caae3ac7371fea0216e7b5c1f62a3b0474c7283a
Author: Srinivasa Ragavan <sragavan novell com>
Date: Mon Jul 27 00:06:17 2009 +0530
BUGFIX: Moblin Bugzilla #4727 - Backspace accidentally kills tabs
src/mail-view.c | 12 +++++++++++-
src/mail-view.h | 1 +
2 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/src/mail-view.c b/src/mail-view.c
index b7bd11b..b5f84f5 100644
--- a/src/mail-view.c
+++ b/src/mail-view.c
@@ -601,7 +601,7 @@ mail_view_show_list (MailView *mv)
{
MailViewChild *child = (MailViewChild *)mv->priv->current_view;
- if (child->type == MAIL_VIEW_MESSAGE || child->type == MAIL_VIEW_COMPOSER)
+ if (child->type == MAIL_VIEW_MESSAGE)
mv_close_mcv (child, mv);
else if (child->type == MAIL_VIEW_FOLDER)
mail_folder_view_show_list ((MailFolderView *)mv->priv->current_view);
@@ -609,6 +609,16 @@ mail_view_show_list (MailView *mv)
}
+void
+mail_view_close_view (MailView *mv)
+{
+ MailViewChild *child = (MailViewChild *)mv->priv->current_view;
+
+ mv_close_mcv (child, mv);
+
+
+}
+
static void
mv_slider_clicked (GtkButton *slider, MailView *mv)
{
diff --git a/src/mail-view.h b/src/mail-view.h
index bf4dd7f..7fae8ed 100644
--- a/src/mail-view.h
+++ b/src/mail-view.h
@@ -75,6 +75,7 @@ MailView * mail_view_new (void);
void mail_view_set_folder_uri (MailView *mv, const char *uri);
void mail_view_show_sort_popup (MailView *mv, GtkWidget *);
void mail_view_show_list (MailView *mv);
+void mail_view_close_view (MailView *mv);
void mail_view_set_check_email (MailView *mv, GtkWidget *button);
void mail_view_set_sort_by (MailView *mv, GtkWidget *button);
void mail_view_check_mail(MailView *mv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]