dia r3909 - in trunk: . lib
- From: hans svn gnome org
- To: svn-commits-list gnome org
- Subject: dia r3909 - in trunk: . lib
- Date: Sun, 9 Mar 2008 15:07:13 +0000 (GMT)
Author: hans
Date: Sun Mar 9 15:07:12 2008
New Revision: 3909
URL: http://svn.gnome.org/viewvc/dia?rev=3909&view=rev
Log:
2008-03-09 Hans Breuer <hans breuer org>
* lib/persistence.c : listen again to the configure-event and remove
debug spew (the fix for bug #501475 broke the size storing completely)
Modified:
trunk/ChangeLog
trunk/lib/persistence.c
Modified: trunk/lib/persistence.c
==============================================================================
--- trunk/lib/persistence.c (original)
+++ trunk/lib/persistence.c Sun Mar 9 15:07:12 2008
@@ -563,11 +563,9 @@
}
wininfo = (PersistentWindow *)g_hash_table_lookup(persistent_windows, name);
- if (wininfo != NULL) {
- printf("Old window %s is closed: %d\n", name, isclosed);
+ if (wininfo != NULL) {
persistence_store_window_info(window, wininfo, isclosed);
} else {
- printf("New window %s is closed: %d\n", name, isclosed);
wininfo = g_new0(PersistentWindow, 1);
persistence_store_window_info(window, wininfo, isclosed);
g_hash_table_insert(persistent_windows, name, wininfo);
@@ -672,6 +670,8 @@
g_object_ref(window);
}
+ g_signal_connect(GTK_OBJECT(window), "configure-event",
+ G_CALLBACK(persistence_window_event_handler), NULL);
g_signal_connect(GTK_OBJECT(window), "map-event",
G_CALLBACK(persistence_window_event_handler), NULL);
g_signal_connect(GTK_OBJECT(window), "unmap-event",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]