*Add some more explenation of the border find algo.
authorDavid Walter Seikel <onefang@gmail.com>
Thu, 5 Oct 2006 08:35:30 +0000 (08:35 +0000)
committerDavid Walter Seikel <onefang@gmail.com>
Thu, 5 Oct 2006 08:35:30 +0000 (08:35 +0000)
*Pack the fm properly so it handles dialog resizes properly.

SVN revision: 26350

src/bin/e_apps.c
src/bin/e_int_config_icon_themes.c

index 2b3589c..bc8dadb 100644 (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);
 
index ea71a3a..daf1d0f 100644 (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);