[latexila] Search and replace: use symbolic icons
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Search and replace: use symbolic icons
- Date: Fri, 6 Apr 2012 06:30:33 +0000 (UTC)
commit 7875a3bcec3d96911954126dbe252f9b13194c65
Author: SÃbastien Wilmet <swilmet src gnome org>
Date: Thu Apr 5 08:06:15 2012 +0200
Search and replace: use symbolic icons
src/search.vala | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/search.vala b/src/search.vala
index de2952e..86e025d 100644
--- a/src/search.vala
+++ b/src/search.vala
@@ -44,7 +44,8 @@ public class GotoLine : Grid
entry = new Entry ();
add (entry);
- entry.set_icon_from_stock (EntryIconPosition.SECONDARY, Stock.JUMP_TO);
+ Icon icon = new ThemedIcon.with_default_fallbacks ("go-jump-symbolic");
+ entry.set_icon_from_gicon (EntryIconPosition.SECONDARY, icon);
entry.set_icon_activatable (EntryIconPosition.SECONDARY, true);
entry.set_tooltip_text (_("Line you want to move the cursor to"));
entry.set_size_request (100, -1);
@@ -302,7 +303,8 @@ public class SearchAndReplace : GLib.Object
private void init_find_entry ()
{
_entry_find = new Entry ();
- _entry_find.primary_icon_stock = Stock.PROPERTIES;
+ _entry_find.primary_icon_gicon =
+ new ThemedIcon.with_default_fallbacks ("document-properties-symbolic");
_entry_find.primary_icon_activatable = true;
_entry_find.set_tooltip_text (_("Search for"));
_entry_find.can_focus = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]