e_win: Fix Dialog Titles
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Sun, 14 Dec 2014 11:21:16 +0000 (12:21 +0100)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Sun, 14 Dec 2014 11:21:16 +0000 (12:21 +0100)
We should not set the title to "E" in the trap function of show.
If we do this we will override the icccm title and the netwm name, this
mean e_comp_x will set E as title of the window if the call to
elm_win_title_set was BEFORE the window was shown.

Now the name which was set before will be inserted.

src/bin/e_win.c

index 45c9cf2..8e2d202 100644 (file)
@@ -89,7 +89,7 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
              E_Comp *c = NULL;
 
              ecore_evas_name_class_set(ee, "E", "_e_internal_window");
-             ecore_evas_title_set(ee, "E");
+             ecore_evas_title_set(ee, elm_win_title_get(o));
              cp = e_pixmap_new(type, win);
              EINA_SAFETY_ON_NULL_RETURN_VAL(cp, EINA_TRUE);