e_desktop_border_edit -> e_desktop_client_edit

devs/stefan/wl-session-recovery
Mike Blumenkrantz 8 years ago
parent 9e5e2767c7
commit 33f341c75d
  1. 6
      src/bin/e_desktop_editor.c
  2. 2
      src/bin/e_desktop_editor.h
  3. 2
      src/bin/e_int_client_menu.c

@ -184,7 +184,7 @@ e_desktop_client_create(E_Client *ec)
}
EAPI E_Desktop_Edit *
e_desktop_border_edit(E_Client *ec)
e_desktop_client_edit(E_Client *ec)
{
E_Desktop_Edit *editor;
int new_desktop = 0;
@ -194,8 +194,8 @@ e_desktop_border_edit(E_Client *ec)
if (ec->desktop)
editor->desktop = ec->desktop;
/* the border does not yet have a desktop entry. add one and pre-populate
it with values from the border */
/* the client does not yet have a desktop entry. add one and pre-populate
it with values from the client */
if (!editor->desktop)
{
editor->desktop = e_desktop_client_create(ec);

@ -33,7 +33,7 @@ struct _E_Desktop_Edit
};
EAPI Efreet_Desktop *e_desktop_client_create(E_Client *ec);
EAPI E_Desktop_Edit *e_desktop_border_edit(E_Client *ec);
EAPI E_Desktop_Edit *e_desktop_client_edit(E_Client *ec);
EAPI E_Desktop_Edit *e_desktop_edit(Efreet_Desktop *desktop);
#endif

@ -607,7 +607,7 @@ _e_client_menu_cb_icon_edit(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi _
E_Client *ec;
ec = data;
e_desktop_border_edit(ec);
e_desktop_client_edit(ec);
}
static void

Loading…
Cancel
Save