[brasero] Fix a couple of problems introduced by patch to remove use of soon to be deprecated GTK+3 symbols
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Fix a couple of problems introduced by patch to remove use of soon to be deprecated GTK+3 symbols
- Date: Sun, 22 Nov 2009 21:18:27 +0000 (UTC)
commit 16892d3885019e79e8a754dae41e4d685b6e3db2
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sun Nov 22 22:12:25 2009 +0100
Fix a couple of problems introduced by patch to remove use of soon to be deprecated GTK+3 symbols
src/brasero-project.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/brasero-project.c b/src/brasero-project.c
index 2fdf370..c0e562a 100644
--- a/src/brasero-project.c
+++ b/src/brasero-project.c
@@ -386,7 +386,8 @@ brasero_project_set_add_button_state (BraseroProject *project)
return;
widget = gtk_bin_get_child (GTK_BIN (widget));
- gtk_widget_set_has_window (widget, TRUE);
+ gtk_widget_set_can_default (widget, TRUE);
+
gtk_window_set_default (GTK_WINDOW (toplevel), widget);
}
@@ -2310,7 +2311,8 @@ brasero_project_register_ui (BraseroProject *project, GtkUIManager *manager)
project->priv->manager = manager;
- gtk_widget_grab_focus (project->priv->name_display);
+ if (GTK_WIDGET_REALIZED (project->priv->name_display))
+ gtk_widget_grab_focus (project->priv->name_display);
}
/******************************* common to save/open ***************************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]