[chronojump] better icons
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] better icons
- Date: Thu, 14 Apr 2011 18:26:31 +0000 (UTC)
commit 5faee3586568dccd8dccec7c4e79536067b98f93
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Apr 14 19:11:54 2011 +0200
better icons
glade/chronojump.glade | 41 ++++++++++++++++++++++++-----------------
src/gui/chronojump.cs | 12 ++++++++++++
2 files changed, 36 insertions(+), 17 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index b0ef93b..5111f7b 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -13811,6 +13811,7 @@ by you</property>
<widget class="GtkImage" id="image1977">
<property name="visible">True</property>
<property name="stock">gtk-edit</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -13832,6 +13833,7 @@ by you</property>
<widget class="GtkImage" id="image1188">
<property name="visible">True</property>
<property name="stock">gtk-dialog-info</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -13851,9 +13853,9 @@ by you</property>
<property name="tooltip" translatable="yes">Delete person</property>
<signal name="clicked" handler="on_delete_current_person_from_session_clicked"/>
<child>
- <widget class="GtkImage" id="image53">
+ <widget class="GtkImage" id="image_person_delete">
<property name="visible">True</property>
- <property name="stock">gtk-remove</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -13911,7 +13913,7 @@ by you</property>
<widget class="GtkViewport" id="viewport_mode">
<property name="visible">True</property>
<property name="resize_mode">queue</property>
- <property name="hadjustment">0 0 719 71.900000000000006 647.10000000000002 719</property>
+ <property name="hadjustment">0 0 711 71.100000000000009 639.89999999999998 711</property>
<property name="shadow_type">out</property>
<child>
<widget class="GtkHButtonBox" id="hbutton_radio_modes">
@@ -14225,7 +14227,6 @@ Chronopic</property>
<child>
<widget class="GtkNotebook" id="notebook_execute">
<property name="visible">True</property>
- <property name="show_tabs">False</property>
<property name="show_border">False</property>
<child>
<widget class="GtkFrame" id="frame2">
@@ -14528,6 +14529,7 @@ Chronopic</property>
<widget class="GtkImage" id="image3210">
<property name="visible">True</property>
<property name="stock">gtk-new</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -14546,9 +14548,9 @@ Chronopic</property>
<property name="tooltip" translatable="yes">Delete jump type</property>
<signal name="clicked" handler="on_jump_type_delete_simple"/>
<child>
- <widget class="GtkImage" id="image5">
+ <widget class="GtkImage" id="image_jump_type_delete_simple">
<property name="visible">True</property>
- <property name="stock">gtk-remove</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -14816,6 +14818,7 @@ Chronopic</property>
<child>
<widget class="GtkImage" id="image_jump_reactive_bell">
<property name="visible">True</property>
+ <property name="icon-size">2</property>
</widget>
<packing>
<property name="position">0</property>
@@ -14853,6 +14856,7 @@ Chronopic</property>
<widget class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="stock">gtk-new</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -14871,9 +14875,9 @@ Chronopic</property>
<property name="tooltip" translatable="yes">Delete jump type</property>
<signal name="clicked" handler="on_jump_type_delete_reactive"/>
<child>
- <widget class="GtkImage" id="image13">
+ <widget class="GtkImage" id="image_jump_type_delete_reactive">
<property name="visible">True</property>
- <property name="stock">gtk-remove</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -15302,7 +15306,7 @@ Chronopic</property>
<widget class="GtkImage" id="image3212">
<property name="visible">True</property>
<property name="stock">gtk-new</property>
- <property name="icon-size">1</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -15321,10 +15325,9 @@ Chronopic</property>
<property name="tooltip" translatable="yes">Delete run type</property>
<signal name="clicked" handler="on_run_type_delete_simple"/>
<child>
- <widget class="GtkImage" id="image4">
+ <widget class="GtkImage" id="image_run_type_delete_simple">
<property name="visible">True</property>
- <property name="stock">gtk-remove</property>
- <property name="icon-size">1</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -15583,6 +15586,7 @@ Chronopic</property>
<child>
<widget class="GtkImage" id="image_run_interval_bell">
<property name="visible">True</property>
+ <property name="icon-size">2</property>
</widget>
<packing>
<property name="position">0</property>
@@ -15621,6 +15625,7 @@ Chronopic</property>
<widget class="GtkImage" id="image3213">
<property name="visible">True</property>
<property name="stock">gtk-new</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -15638,9 +15643,9 @@ Chronopic</property>
<property name="tooltip" translatable="yes">Delete run type</property>
<signal name="clicked" handler="on_run_type_delete_intervallic"/>
<child>
- <widget class="GtkImage" id="image2">
+ <widget class="GtkImage" id="image_run_type_delete_intervallic">
<property name="visible">True</property>
- <property name="stock">gtk-remove</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -17767,6 +17772,7 @@ Second Chronopic to platforms.</property>
<widget class="GtkImage" id="image1664">
<property name="visible">True</property>
<property name="stock">gtk-properties</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -17789,6 +17795,7 @@ Second Chronopic to platforms.</property>
<widget class="GtkImage" id="image1665">
<property name="visible">True</property>
<property name="stock">gtk-refresh</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -19393,7 +19400,7 @@ Second Chronopic to platforms.</property>
<widget class="GtkImage" id="image22">
<property name="visible">True</property>
<property name="stock">gtk-media-play</property>
- <property name="icon-size">1</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
@@ -19414,9 +19421,9 @@ Second Chronopic to platforms.</property>
<signal name="clicked" handler="on_delete_this_test_clicked"/>
<accelerator key="d" signal="clicked"/>
<child>
- <widget class="GtkImage" id="image19">
+ <widget class="GtkImage" id="image_delete_this_test">
<property name="visible">True</property>
- <property name="stock">gtk-remove</property>
+ <property name="icon-size">2</property>
</widget>
</child>
</widget>
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 5143d78..1f7c893 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -208,6 +208,8 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Image image_jump_reactive_repair;
[Widget] Gtk.Image image_run_interval_repair;
[Widget] Gtk.Image image_pulse_repair;
+ [Widget] Gtk.Image image_person_delete;
+ [Widget] Gtk.Image image_delete_this_test;
[Widget] Gtk.Image image_jump_delete;
[Widget] Gtk.Image image_jump_reactive_delete;
[Widget] Gtk.Image image_run_delete;
@@ -215,6 +217,10 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Image image_reaction_time_delete;
[Widget] Gtk.Image image_pulse_delete;
[Widget] Gtk.Image image_multi_chronopic_delete;
+ [Widget] Gtk.Image image_jump_type_delete_simple;
+ [Widget] Gtk.Image image_jump_type_delete_reactive;
+ [Widget] Gtk.Image image_run_type_delete_simple;
+ [Widget] Gtk.Image image_run_type_delete_intervallic;
[Widget] Gtk.Image image_jumps_zoom;
[Widget] Gtk.Image image_jumps_rj_zoom;
@@ -654,6 +660,8 @@ public partial class ChronoJumpWindow
image_pulse_repair.Pixbuf = pixbuf;
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "stock_delete.png");
+ image_person_delete.Pixbuf = pixbuf;
+ image_delete_this_test.Pixbuf = pixbuf;
image_jump_delete.Pixbuf = pixbuf;
image_jump_reactive_delete.Pixbuf = pixbuf;
image_run_delete.Pixbuf = pixbuf;
@@ -661,6 +669,10 @@ public partial class ChronoJumpWindow
image_reaction_time_delete.Pixbuf = pixbuf;
image_pulse_delete.Pixbuf = pixbuf;
image_multi_chronopic_delete.Pixbuf = pixbuf;
+ image_jump_type_delete_simple.Pixbuf = pixbuf;
+ image_jump_type_delete_reactive.Pixbuf = pixbuf;
+ image_run_type_delete_simple.Pixbuf = pixbuf;
+ image_run_type_delete_intervallic.Pixbuf = pixbuf;
//zoom icons, done like this because there's one zoom icon created ad-hoc,
//and is not nice that the other are different for an user theme change
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]