r15900 - gnucash/trunk/src/gnome-utils - Better popup window size handling.
Josh Sled
jsled at cvs.gnucash.org
Sun Apr 15 13:44:48 EDT 2007
Author: jsled
Date: 2007-04-15 13:44:48 -0400 (Sun, 15 Apr 2007)
New Revision: 15900
Trac: http://svn.gnucash.org/trac/changeset/15900
Modified:
gnucash/trunk/src/gnome-utils/gnc-dense-cal.c
Log:
Better popup window size handling.
Modified: gnucash/trunk/src/gnome-utils/gnc-dense-cal.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-dense-cal.c 2007-04-15 17:06:14 UTC (rev 15899)
+++ gnucash/trunk/src/gnome-utils/gnc-dense-cal.c 2007-04-15 17:44:48 UTC (rev 15900)
@@ -331,6 +331,8 @@
gtk_container_add(GTK_CONTAINER(dcal->transPopup), vbox);
+ gtk_window_set_resizable(GTK_WINDOW(dcal->transPopup), FALSE);
+
gtk_widget_realize(GTK_WIDGET(dcal->transPopup));
}
@@ -1132,6 +1134,7 @@
// trick with a bit of flicker.
gtk_window_move(GTK_WINDOW(dcal->transPopup), evt->x_root+5, evt->y_root+5);
populate_hover_window(dcal, doc);
+ gtk_widget_queue_resize(GTK_WIDGET(dcal->transPopup));
gtk_widget_show_all(GTK_WIDGET(dcal->transPopup));
gtk_window_move(GTK_WINDOW(dcal->transPopup), evt->x_root+5, evt->y_root+5);
}
@@ -1168,6 +1171,7 @@
if (doc >= 0)
{
populate_hover_window(dcal, doc);
+ gtk_widget_queue_resize(GTK_WIDGET(dcal->transPopup));
gtk_widget_show_all(GTK_WIDGET(dcal->transPopup));
}
else
More information about the gnucash-changes
mailing list