[cheese] Fixed tooltip text for "stop action" and for "next/prev effect page" buttons
- From: Laura Lucas Alday <lauralucas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Fixed tooltip text for "stop action" and for "next/prev effect page" buttons
- Date: Mon, 3 Jan 2011 15:29:11 +0000 (UTC)
commit ba17f3feb1932673e47463ff903c4a943703fca5
Author: Laura Lucas Alday <lauralucasalday gmail com>
Date: Mon Jan 3 12:28:42 2011 -0300
Fixed tooltip text for "stop action" and for "next/prev effect page" buttons
data/cheese-main-window.ui | 4 ++--
src/cheese-window.vala | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/data/cheese-main-window.ui b/data/cheese-main-window.ui
index 8d9a0b1..78d6905 100644
--- a/data/cheese-main-window.ui
+++ b/data/cheese-main-window.ui
@@ -121,7 +121,7 @@
<property name="related-action">effects_page_prev</property>
<property name="width-request">32</property>
<property name="relief">GTK_RELIEF_NONE</property>
- <property name="tooltip_text" translatable="yes">Previous effect</property>
+ <property name="tooltip_text" translatable="yes">Previous</property>
<child>
<object class="GtkImage" id="effects_prev_page_button_image">
<property name="stock">gtk-go-back</property>
@@ -161,7 +161,7 @@
<property name="related-action">effects_page_next</property>
<property name="width-request">32</property>
<property name="relief">GTK_RELIEF_NONE</property>
- <property name="tooltip_text" translatable="yes">Next effect</property>
+ <property name="tooltip_text" translatable="yes">Next</property>
<child>
<object class="GtkImage" id="effects_prev_next_button_image">
<property name="stock">gtk-go-forward</property>
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 0991c0f..bd62b3f 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -715,6 +715,7 @@ public class Cheese.MainWindow : Gtk.Window
{
camera.start_video_recording (fileutil.get_new_media_filename (this.current_mode));
take_action_button_label.label = "<b>" + _("Stop _Recording") + "</b>";
+ take_action_button.tooltip_text = "Stop recording";
take_action_button_image.set_from_stock (Gtk.STOCK_MEDIA_STOP, Gtk.IconSize.BUTTON);
this.is_recording = true;
this.disable_mode_change ();
@@ -723,6 +724,7 @@ public class Cheese.MainWindow : Gtk.Window
{
camera.stop_video_recording ();
take_action_button_label.label = "<b>" + take_action_button.related_action.label + "</b>";
+ take_action_button.tooltip_text = take_action_button.related_action.tooltip;
take_action_button_image.set_from_stock (Gtk.STOCK_MEDIA_RECORD, Gtk.IconSize.BUTTON);
this.is_recording = false;
this.enable_mode_change ();
@@ -737,6 +739,7 @@ public class Cheese.MainWindow : Gtk.Window
this.disable_mode_change ();
effects_toggle_action.sensitive = false;
take_action_button_label.label = "<b>" + _("Stop _Taking Pictures") + "</b>";
+ take_action_button.tooltip_text = "Stop taking pictures";
burst_take_photo ();
/* 3500 ms is approximate time for countdown animation to finish */
@@ -750,6 +753,7 @@ public class Cheese.MainWindow : Gtk.Window
is_bursting = false;
this.enable_mode_change ();
take_action_button_label.label = "<b>" + take_action_button.related_action.label + "</b>";
+ take_action_button.tooltip_text = take_action_button.related_action.tooltip;
burst_count = 0;
fileutil.reset_burst ();
GLib.Source.remove (burst_callback_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]