[latexila] Use a stock icon instead of a theme icon
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Use a stock icon instead of a theme icon
- Date: Thu, 22 Sep 2011 11:05:26 +0000 (UTC)
commit 18eb6246b85fed0bf959135d53326d9f6d16cdfc
Author: SÃbastien Wilmet <swilmet src gnome org>
Date: Thu Sep 22 13:03:53 2011 +0200
Use a stock icon instead of a theme icon
"text-x-generic" is already available in the stock iconsâ
src/application.vala | 1 -
src/structure.vala | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/application.vala b/src/application.vala
index 01b1bb7..cf9bf99 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -170,7 +170,6 @@ public class Application : GLib.Object
register_my_stock_icons ();
add_theme_icon_to_stock ("image-x-generic", "image");
- add_theme_icon_to_stock ("text-x-generic", "tree_include");
AppSettings.get_default ();
create_window ();
diff --git a/src/structure.vala b/src/structure.vala
index 42099fa..378b9b0 100644
--- a/src/structure.vala
+++ b/src/structure.vala
@@ -648,7 +648,7 @@ public class Structure : VBox
_icons[StructType.TABLE] = "table";
_icons[StructType.FIGURE] = "image";
_icons[StructType.IMAGE] = "image";
- _icons[StructType.INCLUDE] = "tree_include";
+ _icons[StructType.INCLUDE] = Stock.FILE;
}
return _icons[type];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]