discomfitor pushed a commit to branch master.
commit d8c603ae873ae45f1a87aaa91a873e8bce1d9956
Author: Mike Blumenkrantz <[email protected]>
Date: Wed May 8 08:28:53 2013 +0100
filemanager windows no longer resize to 0x0 when double clicked with no
icons present
T78
---
ChangeLog | 1 +
NEWS | 1 +
src/modules/fileman/e_fwin.c | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 7d389d1..c35b80e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2013-05-08 Mike Blumenkrantz
* e_fm2_optimal_size_calc returns bool to indicate whether the
returned size can be used
+ * filemanager windows no longer resize to 0x0 when double clicked with
no icons present
2013-04-26 Mike Blumenkrantz
diff --git a/NEWS b/NEWS
index 612440d..949d053 100644
--- a/NEWS
+++ b/NEWS
@@ -209,3 +209,4 @@ Fixes:
* fixed pointer warp when pointer was inside warp window but not directly
over it
* toolbar gadgets no longer crash when trying to display a popup
* fixed theme bug which prevented windows from unshading correctly when
animations were disabled
+ * filemanager windows no longer resize to 0x0 when double clicked with no
icons present
diff --git a/src/modules/fileman/e_fwin.c b/src/modules/fileman/e_fwin.c
index 07bbf46..0661aa6 100644
--- a/src/modules/fileman/e_fwin.c
+++ b/src/modules/fileman/e_fwin.c
@@ -618,7 +618,7 @@ _e_fwin_bg_mouse_down(E_Fwin *fwin, Evas_Object *obj
__UNUSED__, void *event __U
int x, y, w, h, zx, zy, zw, zh;
e_zone_useful_geometry_get(fwin->win->border->zone, &zx, &zy, &zw, &zh);
x = fwin->win->border->x, y = fwin->win->border->y;
- e_fm2_optimal_size_calc(fwin->cur_page->fm_obj, zw - x, zh - y, &w, &h);
+ if (!e_fm2_optimal_size_calc(fwin->cur_page->fm_obj, zw - x, zh - y, &w,
&h)) return;
if (x + w > zx + zw)
w = zx + zw - x;
if (y + x > zy + zh)
--
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may