projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6a8cf
)
* Added an #ifdef that makes dnd work properly in Modest
author
Sergio Villar Senin
<svillar@igalia.com>
Tue, 24 Apr 2007 19:07:49 +0000
(19:07 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Tue, 24 Apr 2007 19:07:49 +0000
(19:07 +0000)
pmo-trunk-r1659
src/modest-widget-memory.c
patch
|
blob
|
history
diff --git
a/src/modest-widget-memory.c
b/src/modest-widget-memory.c
index
945ca2c
..
2a05e83
100644
(file)
--- a/
src/modest-widget-memory.c
+++ b/
src/modest-widget-memory.c
@@
-188,8
+188,14
@@
restore_settings_window (ModestConf *conf, GtkWindow *win, const gchar *name)
g_free (key);
+ /* Added this ugly ifdef, because in Maemo the
+ gtk_window_set_default_size() makes "drag-motion" signal
+ report bad coordinates, so drag-and-drop do not work
+ properly */
+#ifdef MODEST_PLATFORM_GNOME
if (height && width)
gtk_window_set_default_size (win, width, height);
+#endif
/* Restore also the main window style */
if (MODEST_IS_MAIN_WINDOW (win)) {