projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Changes in the autotools stuff affecting a lot of platform dependent
[modest]
/
src
/
widgets
/
modest-window.c
diff --git
a/src/widgets/modest-window.c
b/src/widgets/modest-window.c
index
c0e7830
..
acf9d90
100644
(file)
--- a/
src/widgets/modest-window.c
+++ b/
src/widgets/modest-window.c
@@
-33,6
+33,7
@@
#include "modest-tny-platform-factory.h"
#include "modest-runtime.h"
#include "modest-window-mgr.h"
#include "modest-tny-platform-factory.h"
#include "modest-runtime.h"
#include "modest-window-mgr.h"
+#include "modest-defs.h"
#include <string.h> /* for strcmp */
#include <gdk/gdkkeysyms.h>
#include <string.h> /* for strcmp */
#include <gdk/gdkkeysyms.h>
@@
-87,7
+88,7
@@
modest_window_get_type (void)
(GInstanceInitFunc) modest_window_init,
NULL
};
(GInstanceInitFunc) modest_window_init,
NULL
};
-#ifdef MODEST_PLATFORM_MAEMO
+#ifndef MODEST_TOOLKIT_GTK
parent_type = HILDON_TYPE_WINDOW;
#else
parent_type = GTK_TYPE_WINDOW;
parent_type = HILDON_TYPE_WINDOW;
#else
parent_type = GTK_TYPE_WINDOW;
@@
-424,7
+425,7
@@
on_key_pressed (GtkWidget *self,
case GDK_Escape:
if (modest_window_mgr_get_fullscreen_mode (mgr))
modest_ui_actions_on_change_fullscreen (NULL, MODEST_WINDOW(self));
case GDK_Escape:
if (modest_window_mgr_get_fullscreen_mode (mgr))
modest_ui_actions_on_change_fullscreen (NULL, MODEST_WINDOW(self));
- else if (MODEST_IS_MSG_VIEW_WINDOW (self)||MODEST_IS_MSG_EDIT_WINDOW (self))
+ else if (MODEST_IS_MSG_VIEW_WINDOW (self))
modest_ui_actions_on_close_window (NULL, MODEST_WINDOW (self));
break;
}
modest_ui_actions_on_close_window (NULL, MODEST_WINDOW (self));
break;
}