Use the config dialog find functions to avoid having 2 border dialogs open
for the same window. SVN revision: 27283
This commit is contained in:
parent
a5f127fe21
commit
45906f2db8
|
@ -23,6 +23,7 @@ e_int_config_borders(E_Container *con)
|
|||
E_Config_Dialog *cfd;
|
||||
E_Config_Dialog_View *v;
|
||||
|
||||
if (e_config_dialog_find("E", "_config_border_style_dialog")) return NULL;
|
||||
v = _config_view_new();
|
||||
if (!v) return NULL;
|
||||
cfd = e_config_dialog_new(con, _("Default Border Style"),
|
||||
|
@ -37,6 +38,7 @@ e_int_config_borders_border(E_Border *bd)
|
|||
E_Config_Dialog *cfd;
|
||||
E_Config_Dialog_View *v;
|
||||
|
||||
if (e_config_dialog_find("E", "_config_border_border_style_dialog")) return NULL;
|
||||
v = _config_view_new();
|
||||
if (!v) return NULL;
|
||||
cfd = e_config_dialog_new(bd->zone->container,
|
||||
|
|
Loading…
Reference in New Issue