[cheese] Use symbolic icons for photo and video button
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Use symbolic icons for photo and video button
- Date: Thu, 7 Nov 2013 23:21:44 +0000 (UTC)
commit b1f41512c777cfc9ed1c3edaebcf6c17f7d06322
Author: Rashi Aswani <aswanirashi19 gmail com>
Date: Fri Nov 8 04:37:02 2013 +0530
Use symbolic icons for photo and video button
Using the stock "record" icon for taking photos is misleading, so use a
symbolic "webcam" icon for both taking a photo and recording a video.
Update the "stop" icon to also be a symbolic icon.
https://bugzilla.gnome.org/show_bug.cgi?id=668599
data/cheese-main-window.ui | 2 +-
src/cheese-window.vala | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/cheese-main-window.ui b/data/cheese-main-window.ui
index df18d53..288f30b 100644
--- a/data/cheese-main-window.ui
+++ b/data/cheese-main-window.ui
@@ -97,7 +97,7 @@
<property name="column-spacing">2</property>
<child>
<object class="GtkImage" id="take_action_button_internal_image">
- <property name="icon_name">gtk-media-record</property>
+ <property name="icon_name">camera-web-symbolic</property>
</object>
</child>
<child>
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 4585a66..4362322 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -775,7 +775,7 @@ public class Cheese.MainWindow : Gtk.ApplicationWindow
Timeout.add_seconds (1, update_timeout_layer);
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);
+ take_action_button_image.set_from_icon_name ("media-playback-stop-symbolic", Gtk.IconSize.BUTTON);
this.is_recording = true;
this.disable_mode_change ();
}
@@ -791,7 +791,7 @@ public class Cheese.MainWindow : Gtk.ApplicationWindow
timeout_layer.text = "00:00:00";
take_action_button_label.label = "<b>" + _("_Record a Video") + "</b>";
take_action_button.tooltip_text = _("Record a video");
- take_action_button_image.set_from_stock (Gtk.Stock.MEDIA_RECORD, Gtk.IconSize.BUTTON);
+ take_action_button_image.set_from_icon_name ("camera-web-symbolic", Gtk.IconSize.BUTTON);
this.is_recording = false;
this.enable_mode_change ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]