[gtranslator] Fix profiles treview junctions
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Fix profiles treview junctions
- Date: Sat, 7 Apr 2012 13:33:15 +0000 (UTC)
commit fa771f857fc49aed9b13d7bad4ac4dfe540707b8
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Apr 7 15:35:49 2012 +0200
Fix profiles treview junctions
src/dialogs/gtr-preferences-dialog.c | 6 +++---
src/dialogs/gtr-preferences-dialog.ui | 18 ++++++------------
2 files changed, 9 insertions(+), 15 deletions(-)
---
diff --git a/src/dialogs/gtr-preferences-dialog.c b/src/dialogs/gtr-preferences-dialog.c
index 2db42ab..c44e823 100644
--- a/src/dialogs/gtr-preferences-dialog.c
+++ b/src/dialogs/gtr-preferences-dialog.c
@@ -710,12 +710,12 @@ gtr_preferences_dialog_init (GtrPreferencesDialog * dlg)
gtk_container_set_border_width (GTK_CONTAINER (dlg->priv->notebook), 5);
- context = gtk_widget_get_style_context (profiles_toolbar);
- gtk_style_context_set_junction_sides (context, GTK_JUNCTION_TOP);
-
context = gtk_widget_get_style_context (profiles_scrolled_window);
gtk_style_context_set_junction_sides (context, GTK_JUNCTION_BOTTOM);
+ context = gtk_widget_get_style_context (profiles_toolbar);
+ gtk_style_context_set_junction_sides (context, GTK_JUNCTION_TOP);
+
setup_files_pages (dlg);
setup_editor_pages (dlg);
setup_profile_pages (dlg);
diff --git a/src/dialogs/gtr-preferences-dialog.ui b/src/dialogs/gtr-preferences-dialog.ui
index 9ba79ff..f44a732 100644
--- a/src/dialogs/gtr-preferences-dialog.ui
+++ b/src/dialogs/gtr-preferences-dialog.ui
@@ -586,26 +586,20 @@
<object class="GtkScrolledWindow" id="profiles-scrolledwindow">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="vexpand">True</property>
<property name="shadow_type">in</property>
<child>
- <object class="GtkViewport" id="viewport1">
+ <object class="GtkTreeView" id="profile_treeview">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="resize_mode">queue</property>
- <child>
- <object class="GtkTreeView" id="profile_treeview">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <child internal-child="selection">
- <object class="GtkTreeSelection" id="treeview-selection1"/>
- </child>
- </object>
+ <property name="can_focus">True</property>
+ <child internal-child="selection">
+ <object class="GtkTreeSelection" id="treeview-selection"/>
</child>
</object>
</child>
</object>
<packing>
- <property name="expand">True</property>
+ <property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]