[latexila/gnome-3] Symbols: fix for GTK+ 3.4
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila/gnome-3] Symbols: fix for GTK+ 3.4
- Date: Thu, 29 Mar 2012 21:56:24 +0000 (UTC)
commit 06c303ca99c162f9d09b1827f5896c4d99c98a4d
Author: SÃbastien Wilmet <swilmet src gnome org>
Date: Thu Mar 29 22:17:26 2012 +0200
Symbols: fix for GTK+ 3.4
src/symbols.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/symbols.vala b/src/symbols.vala
index f869690..c64e1e7 100644
--- a/src/symbols.vala
+++ b/src/symbols.vala
@@ -786,10 +786,8 @@ public class Symbols : Grid
categories_view.spacing = 5;
categories_view.row_spacing = 0;
categories_view.column_spacing = 0;
- categories_view.hexpand = true;
add (categories_view);
- categories_view.show ();
/* show the symbols */
IconView symbol_view = new IconView.with_model (symbols_stores[0]);
@@ -803,7 +801,6 @@ public class Symbols : Grid
Widget sw = Utils.add_scrollbar (symbol_view);
add (sw);
- sw.show_all ();
/* clear button (for most used symbols) */
Button button = new Button.from_stock (Stock.CLEAR);
@@ -873,6 +870,9 @@ public class Symbols : Grid
package != "" ? package : null);
}
});
+
+ show_all ();
+ button.hide ();
}
private ListStore get_symbol_store (SymbolInfo[] symbols)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]