[brasero] Fix panes not remembering their proportions with recent GTK+ which does not emit map events anymore
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Fix panes not remembering their proportions with recent GTK+ which does not emit map events anymore
- Date: Sun, 6 Dec 2009 13:04:46 +0000 (UTC)
commit 4308bdb194df84eb21a7fbb6466931f2e1cb6c43
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sun Dec 6 13:48:01 2009 +0100
Fix panes not remembering their proportions with recent GTK+ which does not emit map events anymore
src/brasero-file-chooser.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/brasero-file-chooser.c b/src/brasero-file-chooser.c
index 50f9089..9d2aec3 100644
--- a/src/brasero-file-chooser.c
+++ b/src/brasero-file-chooser.c
@@ -139,9 +139,8 @@ brasero_file_chooser_paned_destroy (GObject *object,
}
static void
-brasero_file_chooser_paned_map_event (GtkWidget *widget,
- GdkEvent *event,
- gpointer NULL_data)
+brasero_file_chooser_paned_realize_event (GtkWidget *widget,
+ gpointer NULL_data)
{
gint position;
gpointer percent;
@@ -294,10 +293,11 @@ brasero_file_chooser_customize (GtkWidget *widget, gpointer null_data)
G_CALLBACK (brasero_file_chooser_paned_destroy),
NULL);
g_signal_connect (widget,
- "map-event",
- G_CALLBACK (brasero_file_chooser_paned_map_event),
+ "realize",
+ G_CALLBACK (brasero_file_chooser_paned_realize_event),
NULL);
}
+
gtk_container_foreach (GTK_CONTAINER (widget),
brasero_file_chooser_customize,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]