projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c2cfc1
)
merge r6295 from trunk
author
Dana Jansens
<danakj@orodu.net>
Thu, 10 May 2007 16:23:50 +0000
(16:23 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 10 May 2007 16:23:50 +0000
(16:23 +0000)
openbox/popup.c
patch
|
blob
|
history
diff --git
a/openbox/popup.c
b/openbox/popup.c
index f341e0922dd543501e555875c032f0266ea23d17..5c96f073a90b71d68ac449c0bdf605eff33e8714 100644
(file)
--- a/
openbox/popup.c
+++ b/
openbox/popup.c
@@
-169,11
+169,9
@@
void popup_delay_show(ObPopup *self, gulong usec, gchar *text)
/* get the height, which is also used for the icon width */
emptyy = t + b + ob_rr_theme->paddingy * 2;
- if (self->h) {
- h = self->h;
- texth = h - emptyy;
- } else
- h = texth * self->iconhm + emptyy;
+ if (self->h)
+ texth = self->h - emptyy;
+ h = texth * self->iconhm + emptyy;
if (self->textw)
textw = self->textw;