Hehe, that saves us some time... :) On Tue, Apr 12, 2011 at 01:42:19PM -0700, Enlightenment SVN wrote: > Log: > e17/gadcon client menu: dont restrict 'move to' when gadcon has no site > restrictions > > > Author: jeffdameth > Date: 2011-04-12 13:42:19 -0700 (Tue, 12 Apr 2011) > New Revision: 58600 > Trac: http://trac.enlightenment.org/e/changeset/58600 > > Modified: > trunk/e/src/bin/e_gadcon.c > > Modified: trunk/e/src/bin/e_gadcon.c > =================================================================== > --- trunk/e/src/bin/e_gadcon.c 2011-04-12 18:29:46 UTC (rev 58599) > +++ trunk/e/src/bin/e_gadcon.c 2011-04-12 20:42:19 UTC (rev 58600) > @@ -1343,13 +1343,13 @@ > e_menu_pre_activate_callback_set(m, NULL, NULL); > gcc = data; > > - if (gcc->client_class->func.is_site && > gcc->client_class->func.is_site(E_GADCON_SITE_SHELF)) > + if (!gcc->client_class->func.is_site || > gcc->client_class->func.is_site(E_GADCON_SITE_SHELF)) > _e_gadcon_add_locations_menu_for_site(m, gcc, E_GADCON_SITE_SHELF, &n); > - if (gcc->client_class->func.is_site && > gcc->client_class->func.is_site(E_GADCON_SITE_DESKTOP)) > + if (!gcc->client_class->func.is_site || > gcc->client_class->func.is_site(E_GADCON_SITE_DESKTOP)) > _e_gadcon_add_locations_menu_for_site(m, gcc, E_GADCON_SITE_DESKTOP, > &n); > - if (gcc->client_class->func.is_site && > gcc->client_class->func.is_site(E_GADCON_SITE_TOOLBAR)) > + if (!gcc->client_class->func.is_site || > gcc->client_class->func.is_site(E_GADCON_SITE_TOOLBAR)) > _e_gadcon_add_locations_menu_for_site(m, gcc, E_GADCON_SITE_TOOLBAR, > &n); > - if (gcc->client_class->func.is_site && > gcc->client_class->func.is_site(E_GADCON_SITE_EFM_TOOLBAR)) > + if (!gcc->client_class->func.is_site || > gcc->client_class->func.is_site(E_GADCON_SITE_EFM_TOOLBAR)) > _e_gadcon_add_locations_menu_for_site(m, gcc, > E_GADCON_SITE_EFM_TOOLBAR, &n); > _e_gadcon_add_locations_menu_for_site(m, gcc, E_GADCON_SITE_UNKNOWN, &n); > } > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel