summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRashi Aswani <aswanirashi19@gmail.com>2013-11-08 04:37:02 +0530
committerDavid King <amigadave@amigadave.com>2013-11-07 23:20:01 +0000
commitb1f41512c777cfc9ed1c3edaebcf6c17f7d06322 (patch)
treecc7ca7c656b8ce4ee63ef072b404557adb2e7bb1
parent47cc140a3fdb13a067a295212a8b9a00ffdea7f4 (diff)
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
-rw-r--r--data/cheese-main-window.ui2
-rw-r--r--src/cheese-window.vala4
2 files changed, 3 insertions, 3 deletions
diff --git a/data/cheese-main-window.ui b/data/cheese-main-window.ui
index df18d530..288f30b6 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 4585a662..43623229 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 ();
}