[latexila] Symbols: use icon-name instead of stock-id
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Symbols: use icon-name instead of stock-id
- Date: Wed, 24 Dec 2014 20:28:58 +0000 (UTC)
commit 285df569a0e9236cff9b550a28acd3424d85e0ab
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Dec 24 21:25:11 2014 +0100
Symbols: use icon-name instead of stock-id
src/symbols.vala | 4 ++--
src/symbols_view.vala | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/symbols.vala b/src/symbols.vala
index 974f2d1..a2b949c 100644
--- a/src/symbols.vala
+++ b/src/symbols.vala
@@ -30,7 +30,7 @@ public enum SymbolsCategoryType
public enum SymbolsCategoryColumn
{
TYPE,
- ICON, // stock-id, as a string
+ ICON, // icon-name, as a string
NAME,
SYMBOLS_STORE,
N_COLUMNS
@@ -155,7 +155,7 @@ public class Symbols : GLib.Object
_categories_store.append (out iter);
_categories_store.set (iter,
SymbolsCategoryColumn.TYPE, SymbolsCategoryType.MOST_USED,
- SymbolsCategoryColumn.ICON, Stock.ABOUT,
+ SymbolsCategoryColumn.ICON, "help-about",
SymbolsCategoryColumn.NAME, _("Most Used"),
SymbolsCategoryColumn.SYMBOLS_STORE, model
);
diff --git a/src/symbols_view.vala b/src/symbols_view.vala
index 10d941c..858648d 100644
--- a/src/symbols_view.vala
+++ b/src/symbols_view.vala
@@ -66,7 +66,7 @@ public class SymbolsView : Grid
CellRendererPixbuf pixbuf_renderer = new CellRendererPixbuf ();
_combo_box.pack_start (pixbuf_renderer, false);
_combo_box.set_attributes (pixbuf_renderer,
- "stock-id", SymbolsCategoryColumn.ICON, null);
+ "icon-name", SymbolsCategoryColumn.ICON, null);
CellRendererText text_renderer = new CellRendererText ();
text_renderer.ellipsize_set = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]