[pkg-fso-commits] [SCM] libframeworkd-phonegui branch, upstream, updated. 640da47bfcff755388d0fb8f443eb34e0dea3c72
quickdev
niklas.coding at gmail.com
Sat Dec 27 20:50:12 UTC 2008
The following commit has been merged in the upstream branch:
commit c5003ebfa77d62c01f98c2025bccacff07844ebf
Author: quickdev <niklas.coding at gmail.com>
Date: Tue Dec 23 17:23:27 2008 +0100
Fixed a bug concerning USSD window handling.
diff --git a/libframeworkd-phonegui-efl/src/phonegui-ussd.c b/libframeworkd-phonegui-efl/src/phonegui-ussd.c
index 53358ce..3a63ec9 100644
--- a/libframeworkd-phonegui-efl/src/phonegui-ussd.c
+++ b/libframeworkd-phonegui-efl/src/phonegui-ussd.c
@@ -15,7 +15,6 @@ void phonegui_ussd_show(int mode, const char *message) {
g_debug("phonegui_ussd_show(mode=%d, message=%s)", mode, message);
if(win == NULL) {
win = window_new("Service Data");
- window_delete_callback_set(win, _delete);
GHashTable *options = g_hash_table_new(g_str_hash, g_str_equal);
g_hash_table_insert(options, "win", win);
@@ -39,6 +38,7 @@ static void _show(GHashTable *options) {
assert(win != NULL);
window_init(win);
+ window_delete_callback_set(win, _delete);
window_view_show(win, options, ussd_view_show, ussd_view_hide);
}
diff --git a/libframeworkd-phonegui-efl/src/util/window.c b/libframeworkd-phonegui-efl/src/util/window.c
index 0a1fbe3..b63ad72 100644
--- a/libframeworkd-phonegui-efl/src/util/window.c
+++ b/libframeworkd-phonegui-efl/src/util/window.c
@@ -31,7 +31,7 @@ void window_init(struct Window *win) {
win->win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
assert(win->win != NULL);
elm_win_title_set(win->win, win->title);
- elm_win_autodel_set(win->win, 0);
+ elm_win_autodel_set(win->win, 1); // Disable it?
evas_object_smart_callback_add(win->win, "delete-request", _window_delete_callback, win);
// Background
--
libframeworkd-phonegui
More information about the pkg-fso-commits
mailing list