[chronojump] Added button_carles for carles stuff
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Added button_carles for carles stuff
- Date: Fri, 19 Aug 2016 09:28:51 +0000 (UTC)
commit e20920b25cc702c27a2788981bff906fd35fd78e
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Aug 19 11:28:27 2016 +0200
Added button_carles for carles stuff
glade/chronojump.glade | 76 +++++++++++++++++++++++++++++++++++++++++++++--
src/gui/chronojump.cs | 7 ++++
2 files changed, 79 insertions(+), 4 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index 4305381..3053a10 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -1109,6 +1109,20 @@
</packing>
</child>
<child>
+ <widget class="GtkButton" id="button_carles">
+ <property name="label">Button
+Carles</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <signal name="clicked" handler="on_button_carles_clicked" swapped="no"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
<widget class="GtkButton" id="button_crash">
<property name="label">CRASH_ME
(debug purposes)</property>
@@ -1119,7 +1133,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">1</property>
+ <property name="position">2</property>
</packing>
</child>
<child>
@@ -18021,6 +18035,9 @@ Concentric</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -22830,6 +22847,9 @@ by you</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -24120,6 +24140,9 @@ by you</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -25902,6 +25925,9 @@ by you</property>
<placeholder/>
</child>
<child>
+ <placeholder/>
+ </child>
+ <child>
<widget class="GtkButton" id="button_video_url">
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -26741,6 +26767,9 @@ by you</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">True</property>
@@ -40009,6 +40038,24 @@ options</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -43132,6 +43179,18 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -44267,9 +44326,6 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
<placeholder/>
</child>
<child>
- <placeholder/>
- </child>
- <child>
<widget class="GtkLabel" id="label218">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -45559,6 +45615,9 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -50402,6 +50461,9 @@ Other</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="left_attach">2</property>
@@ -51356,6 +51418,9 @@ Other</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -52325,6 +52390,9 @@ Other</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 50dbdd1..b553c08 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -42,6 +42,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.HBox hbox_gui_tests;
[Widget] Gtk.SpinButton spin_gui_tests;
+ [Widget] Gtk.Button button_carles;
[Widget] Gtk.RadioMenuItem radio_menuitem_mode_jumps;
[Widget] Gtk.RadioMenuItem radio_menuitem_mode_runs;
@@ -6537,6 +6538,7 @@ LogB.Debug("X");
encoderRProcAnalyze.Debug = true;
hbox_gui_tests.Visible = true;
+ button_carles.Visible = true;
preferencesWin.DebugActivated();
}
@@ -6544,6 +6546,11 @@ LogB.Debug("X");
private void on_button_gui_tests_clicked (object o, EventArgs args) {
chronojumpWindowTestsStart(Convert.ToInt32(spin_gui_tests.Value -1));
}
+
+ private void on_button_carles_clicked (object o, EventArgs args) {
+ //carles stuff
+ }
+
private void on_about1_activate (object o, EventArgs args) {
string translator_credits = Catalog.GetString ("translator-credits");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]