[gnome-dictionary/wip/ui-redesign] app: Remove extra box around GdictDefBox
- From: Juan R. Garcia Blanco <juanrgar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dictionary/wip/ui-redesign] app: Remove extra box around GdictDefBox
- Date: Sat, 4 Apr 2015 21:39:33 +0000 (UTC)
commit dd89a7ce6f5f7f33533aeb6a12086bd24ff88238
Author: Juan R. GarcĂa Blanco <juanrgar gmail com>
Date: Sat Apr 4 23:38:57 2015 +0200
app: Remove extra box around GdictDefBox
See https://bugzilla.gnome.org/show_bug.cgi?id=334866
src/gdict-window.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/gdict-window.c b/src/gdict-window.c
index 65544d0..ed4c309 100644
--- a/src/gdict-window.c
+++ b/src/gdict-window.c
@@ -1446,7 +1446,6 @@ gdict_window_constructor (GType type,
GtkBuilder *builder;
GtkWidget *handle;
GtkWidget *frame1, *frame2;
- GtkWidget *vbox;
GtkWidget *button;
PangoFontDescription *font_desc;
gchar *font_name;
@@ -1476,11 +1475,6 @@ gdict_window_constructor (GType type,
gtk_header_bar_pack_end (GTK_HEADER_BAR (window->header_bar), button);
gtk_widget_show (button);
- vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
- gtk_container_set_border_width (GTK_CONTAINER (vbox), 6);
- gtk_container_add (GTK_CONTAINER (window->main_box), vbox);
- gtk_widget_show (vbox);
-
window->completion_model = gtk_list_store_new (COMPLETION_N_COLUMNS,
G_TYPE_STRING);
@@ -1501,7 +1495,7 @@ gdict_window_constructor (GType type,
window);
handle = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
- gtk_box_pack_start (GTK_BOX (vbox), handle, TRUE, TRUE, 0);
+ gtk_box_pack_end (GTK_BOX (window->main_box), handle, TRUE, TRUE, 0);
gtk_widget_show (handle);
frame1 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]