projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ae928c
)
oops, just lock shelf if configured to do so.
author
Gustavo Sverzut Barbieri
<barbieri@gmail.com>
Sat, 10 Jan 2009 14:17:42 +0000
(14:17 +0000)
committer
Gustavo Sverzut Barbieri
<barbieri@gmail.com>
Sat, 10 Jan 2009 14:17:42 +0000
(14:17 +0000)
SVN revision: 38535
src/bin/e_gadcon_popup.c
patch
|
blob
|
history
diff --git
a/src/bin/e_gadcon_popup.c
b/src/bin/e_gadcon_popup.c
index
9776e9d
..
629dd36
100644
(file)
--- a/
src/bin/e_gadcon_popup.c
+++ b/
src/bin/e_gadcon_popup.c
@@
-157,7
+157,7
@@
e_gadcon_popup_show(E_Gadcon_Popup *pop)
}
e_popup_move_resize(pop->win, px - zx, py - zy, pop->w, pop->h);
- if (
!pop->shelf_was_locked
)
+ if (
pop->shelf_lock && (!pop->shelf_was_locked)
)
_e_gadcon_popup_shelf_lock_set(pop, 1);
}
@@
-203,8
+203,8
@@
e_gadcon_popup_shelf_lock_set(E_Gadcon_Popup *pop, Eina_Bool setting)
if (pop->shelf_lock == setting) return;
pop->shelf_lock = setting;
- if (
(!setting) &&
pop->shelf_was_locked)
- _e_gadcon_popup_shelf_lock_set(pop,
0
);
+ if (
setting !=
pop->shelf_was_locked)
+ _e_gadcon_popup_shelf_lock_set(pop,
setting
);
}
/* local subsystem functions */