[baobab] Use symbolic icon for the cancel/all locations button
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] Use symbolic icon for the cancel/all locations button
- Date: Sat, 4 Aug 2012 10:01:02 +0000 (UTC)
commit c86abba7149b55085df0bd144100ef9bcfb173c3
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Aug 4 11:37:21 2012 +0200
Use symbolic icon for the cancel/all locations button
src/baobab-main-window.ui | 4 +---
src/baobab-window.vala | 6 ++++--
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/baobab-main-window.ui b/src/baobab-main-window.ui
index cb2007f..4d12236 100644
--- a/src/baobab-main-window.ui
+++ b/src/baobab-main-window.ui
@@ -56,13 +56,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="has_tooltip">True</property>
- <property name="is_important">True</property>
<property name="tooltip_markup" translatable="yes">Show all locations</property>
<property name="tooltip_text" translatable="yes">Show all locations</property>
<property name="use_action_appearance">False</property>
<property name="action_name">win.show-home-page</property>
- <property name="label" translatable="yes">All locations</property>
- <property name="use_underline">True</property>
+ <property name="icon_name">view-list-symbolic</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index 0d9345f..d639964 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -454,7 +454,8 @@ namespace Baobab {
(lookup_action ("active-chart") as SimpleAction).set_enabled (false);
chart_notebook.page = ChartPage.SPINNER;
spinner.start ();
- toolbar_show_home_page.label = _("Cancel Scan");
+ toolbar_show_home_page.icon_name = "process-stop-symbolic";
+ toolbar_show_home_page.tooltip_markup = _("Cancel");
} else {
enable_drop ();
rings_chart.thaw_updates ();
@@ -462,7 +463,8 @@ namespace Baobab {
(lookup_action ("active-chart") as SimpleAction).set_enabled (true);
spinner.stop ();
lookup_action ("active-chart").change_state (ui_settings.get_value ("active-chart"));
- toolbar_show_home_page.label = _("All Locations");
+ toolbar_show_home_page.icon_name = "view-list-symbolic";
+ toolbar_show_home_page.tooltip_markup = _("Show all locations");
}
var window = get_window ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]