*Add some more explenation of the border find algo.

*Pack the fm properly so it handles dialog resizes properly.


SVN revision: 26350
This commit is contained in:
David Walter Seikel 2006-10-05 08:35:30 +00:00
parent 30be4a6602
commit cea94153ed
2 changed files with 13 additions and 2 deletions

View File

@ -1218,8 +1218,9 @@ _e_apps_winners_add(Evas_Hash **winners, const char *path, const char *name, int
E_App *a;
/* If class didn't match then we would not be here. */
/* Its a match if the name and the border are both NULL. */
/* If a name glob was specified in the E_App, then try to match that. */
/* If there is no name in the E_App, it is implicitily a match. */
/* Its a match if the E_App name and the border name are both NULL. */
/* If a name glob was specified in the E_App, then try to match that with the border name. */
addition = 2;
a = e_app_path_find(path);
if (a)
@ -1393,6 +1394,9 @@ printf("SECOND PASS\n");
_e_apps_winners_search(_e_apps_border_ng_win_title, _e_apps_border_g_win_title, title, NULL, &winners, FALSE);
if ((bd->client.icccm.window_role))
_e_apps_winners_search(_e_apps_border_ng_win_role, _e_apps_border_g_win_role, bd->client.icccm.window_role, NULL, &winners, FALSE);
/* We deliberately ignore the exe arguments when matching, even though ICCCM supplies them.
* Ask raster if you want to know why.
*/
if ((bd->client.icccm.command.argv) && (bd->client.icccm.command.argv[0]))
_e_apps_winners_search(_e_apps_border_ng_exe, NULL, bd->client.icccm.command.argv[0], NULL, &winners, FALSE);

View File

@ -255,6 +255,13 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
cfdata->gui.o_frame = ob;
e_widget_min_size_set(ob, 200, 120);
e_widget_framelist_object_append(of, ob);
e_box_pack_options_set(ob,
1, 1, /* fill */
1, 1, /* expand */
1, 1, /* align */
200, 120, /* min */
99999, 99999 /* max */
);
e_widget_table_object_append(ot, of, 2, 0, 2, 4, 1, 1, 1, 1);
e_widget_list_object_append(o, ot, 1, 1, 0.5);