Little bit of cleanup so that we don't set window minimum size twice.

SVN revision: 51768
This commit is contained in:
Christopher Michael 2010-08-31 01:13:45 +00:00
parent d1b854b9c1
commit 627a3a01c6
1 changed files with 7 additions and 5 deletions

View File

@ -72,9 +72,13 @@ _e_mod_notify_cb_add(E_Notification_Daemon *daemon __UNUSED__, E_Notification *n
e_notification_ref(n);
if (nwin->notify) e_notification_unref(nwin->notify);
nwin->notify = n;
_e_mod_notify_refresh(nwin);
}
else if (!replace)
nwin = _e_mod_notify_merge(n);
{
if ((nwin = _e_mod_notify_merge(n)))
_e_mod_notify_refresh(nwin);
}
if (!nwin)
{
@ -83,9 +87,6 @@ _e_mod_notify_cb_add(E_Notification_Daemon *daemon __UNUSED__, E_Notification *n
_nwins = eina_list_append(_nwins, nwin);
}
if (nwin)
_e_mod_notify_refresh(nwin);
/* show it */
ecore_x_e_illume_quickpanel_state_send(nwin->zone->black_win,
ECORE_X_ILLUME_QUICKPANEL_STATE_ON);
@ -276,7 +277,8 @@ _e_mod_notify_new(E_Notification *n)
evas_object_move(nwin->o_base, 0, 0);
evas_object_show(nwin->o_base);
e_win_size_min_set(nwin->win, zone->w, 48);
_e_mod_notify_refresh(nwin);
e_win_show(nwin->win);
e_border_zone_set(nwin->win->border, zone);
nwin->win->border->user_skip_winlist = 1;