[chronojump] preferences tabs back -> close (red)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] preferences tabs back -> close (red)
- Date: Mon, 1 Mar 2021 14:29:04 +0000 (UTC)
commit bbc83ec6fa3a7db6b4fdf3cf9eec0562f11bd3a7
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Mar 1 15:28:46 2021 +0100
preferences tabs back -> close (red)
glade/preferences_win.glade | 8 ++++----
src/gui/preferences.cs | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/glade/preferences_win.glade b/glade/preferences_win.glade
index 7e6a57f0..e3964be5 100644
--- a/glade/preferences_win.glade
+++ b/glade/preferences_win.glade
@@ -7670,19 +7670,19 @@ version:</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <widget class="GtkButton" id="button_view_more_tabs_back">
+ <widget class="GtkButton" id="button_view_more_tabs_close">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">False</property>
- <signal name="clicked" handler="on_button_view_more_tabs_back_clicked"
swapped="no"/>
+ <signal name="clicked" handler="on_button_view_more_tabs_close_clicked"
swapped="no"/>
<child>
<widget class="GtkHBox" id="hbox66">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
- <widget class="GtkImage" id="image_view_more_tabs_back">
+ <widget class="GtkImage" id="image_view_more_tabs_close">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="stock">gtk-missing-image</property>
@@ -7697,7 +7697,7 @@ version:</property>
<widget class="GtkLabel" id="label162">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Back</property>
+ <property name="label" translatable="yes">Close</property>
</widget>
<packing>
<property name="expand">True</property>
diff --git a/src/gui/preferences.cs b/src/gui/preferences.cs
index c34650b8..70bf18e6 100644
--- a/src/gui/preferences.cs
+++ b/src/gui/preferences.cs
@@ -55,7 +55,7 @@ public class PreferencesWindow
[Widget] Gtk.CheckButton check_view_force_sensor;
[Widget] Gtk.CheckButton check_view_race_analyzer;
//tabs selection widgets
- [Widget] Gtk.Image image_view_more_tabs_back;
+ [Widget] Gtk.Image image_view_more_tabs_close;
[Widget] Gtk.Label label_mandatory_tabs;
[Widget] Gtk.Label label_selectable_tabs;
@@ -792,7 +792,7 @@ public class PreferencesWindow
UtilGtk.PaintColorDrawingArea(PreferencesWindowBox.drawingarea_background_color_chronojump_blue,
UtilGtk.BLUE_CHRONOJUMP);
//tabs selection widgets
- PreferencesWindowBox.image_view_more_tabs_back.Pixbuf = new Pixbuf (null,
Util.GetImagePath(false) + "arrow_back.png");
+ PreferencesWindowBox.image_view_more_tabs_close.Pixbuf = new Pixbuf (null,
Util.GetImagePath(false) + "image_close.png");
PreferencesWindowBox.label_mandatory_tabs.Text = "<b>" +
PreferencesWindowBox.label_mandatory_tabs.Text + "</b>";
PreferencesWindowBox.label_mandatory_tabs.UseMarkup = true;
PreferencesWindowBox.label_selectable_tabs.Text = "<b>" +
PreferencesWindowBox.label_selectable_tabs.Text + "</b>";
@@ -809,7 +809,7 @@ public class PreferencesWindow
notebook_top.CurrentPage = 1;
hbox_buttons_bottom.Sensitive = false;
}
- private void on_button_view_more_tabs_back_clicked (object o, EventArgs args)
+ private void on_button_view_more_tabs_close_clicked (object o, EventArgs args)
{
notebook_top.CurrentPage = 0;
hbox_buttons_bottom.Sensitive = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]