df5243869d
Resolves: #1133549
92 lines
5.3 KiB
Diff
92 lines
5.3 KiB
Diff
From 0deb730abc45a4cfa13d93fc07d5b609fb4f0043 Mon Sep 17 00:00:00 2001
|
|
From: Jakub Filak <jfilak@redhat.com>
|
|
Date: Tue, 26 Aug 2014 22:36:30 +0200
|
|
Subject: [PATCH 25/33] gui: use -symbolic icons
|
|
|
|
Related to abrt/gnome-abrt#72
|
|
|
|
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
---
|
|
src/gui-wizard-gtk/wizard.c | 10 +++++-----
|
|
src/gui-wizard-gtk/wizard.glade | 8 ++++----
|
|
2 files changed, 9 insertions(+), 9 deletions(-)
|
|
|
|
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
|
|
index 5779052..525d275 100644
|
|
--- a/src/gui-wizard-gtk/wizard.c
|
|
+++ b/src/gui-wizard-gtk/wizard.c
|
|
@@ -3494,17 +3494,17 @@ void create_assistant(GtkApplication *app, bool expert_mode)
|
|
gtk_notebook_set_show_tabs(g_assistant, (g_verbose != 0 && g_expert_mode));
|
|
|
|
g_btn_close = gtk_button_new_with_mnemonic(_("_Close"));
|
|
- gtk_button_set_image(GTK_BUTTON(g_btn_close), gtk_image_new_from_icon_name("window-close", GTK_ICON_SIZE_BUTTON));
|
|
+ gtk_button_set_image(GTK_BUTTON(g_btn_close), gtk_image_new_from_icon_name("window-close-symbolic", GTK_ICON_SIZE_BUTTON));
|
|
g_btn_stop = gtk_button_new_with_mnemonic(_("_Stop"));
|
|
- gtk_button_set_image(GTK_BUTTON(g_btn_stop), gtk_image_new_from_icon_name("process-close", GTK_ICON_SIZE_BUTTON));
|
|
+ gtk_button_set_image(GTK_BUTTON(g_btn_stop), gtk_image_new_from_icon_name("process-close-symbolic", GTK_ICON_SIZE_BUTTON));
|
|
gtk_widget_set_no_show_all(g_btn_stop, true); /* else gtk_widget_hide won't work */
|
|
g_btn_onfail = gtk_button_new_with_label(_("Upload for analysis"));
|
|
- gtk_button_set_image(GTK_BUTTON(g_btn_onfail), gtk_image_new_from_icon_name("go-up", GTK_ICON_SIZE_BUTTON));
|
|
+ gtk_button_set_image(GTK_BUTTON(g_btn_onfail), gtk_image_new_from_icon_name("go-up-symbolic", GTK_ICON_SIZE_BUTTON));
|
|
gtk_widget_set_no_show_all(g_btn_onfail, true); /* else gtk_widget_hide won't work */
|
|
g_btn_repeat = gtk_button_new_with_label(_("Repeat"));
|
|
gtk_widget_set_no_show_all(g_btn_repeat, true); /* else gtk_widget_hide won't work */
|
|
g_btn_next = gtk_button_new_with_mnemonic(_("_Forward"));
|
|
- gtk_button_set_image(GTK_BUTTON(g_btn_next), gtk_image_new_from_icon_name("go-next", GTK_ICON_SIZE_BUTTON));
|
|
+ gtk_button_set_image(GTK_BUTTON(g_btn_next), gtk_image_new_from_icon_name("go-next-symbolic", GTK_ICON_SIZE_BUTTON));
|
|
gtk_widget_set_no_show_all(g_btn_next, true); /* else gtk_widget_hide won't work */
|
|
|
|
g_box_buttons = GTK_BOX(gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0));
|
|
@@ -3530,7 +3530,7 @@ void create_assistant(GtkApplication *app, bool expert_mode)
|
|
gtk_widget_set_visible(GTK_WIDGET(vbox), TRUE);
|
|
gtk_box_pack_start(vbox, GTK_WIDGET(g_box_warning_labels), false, false, 5);
|
|
|
|
- GtkWidget *image = gtk_image_new_from_icon_name("dialog-warning", GTK_ICON_SIZE_DIALOG);
|
|
+ GtkWidget *image = gtk_image_new_from_icon_name("dialog-warning-symbolic", GTK_ICON_SIZE_DIALOG);
|
|
gtk_widget_set_visible(image, TRUE);
|
|
|
|
g_widget_warnings_area = GTK_WIDGET(gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0));
|
|
diff --git a/src/gui-wizard-gtk/wizard.glade b/src/gui-wizard-gtk/wizard.glade
|
|
index 854a402..b0953db 100644
|
|
--- a/src/gui-wizard-gtk/wizard.glade
|
|
+++ b/src/gui-wizard-gtk/wizard.glade
|
|
@@ -5,7 +5,7 @@
|
|
<object class="GtkImage" id="image1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
- <property name="icon_name">media-record</property>
|
|
+ <property name="icon_name">media-record-symbolic</property>
|
|
</object>
|
|
<object class="GtkListStore" id="ls_sensitive_words">
|
|
<columns>
|
|
@@ -133,7 +133,7 @@
|
|
<property name="can_focus">True</property>
|
|
<property name="has_tooltip">True</property>
|
|
<property name="invisible_char">●</property>
|
|
- <property name="secondary_icon_name">edit-find</property>
|
|
+ <property name="secondary_icon_name">edit-find-symbolic</property>
|
|
<property name="primary_icon_activatable">False</property>
|
|
<property name="secondary_icon_tooltip_text" translatable="yes">Clear the search bar to see the list of security sensitive words.</property>
|
|
<property name="secondary_icon_tooltip_markup" translatable="yes">Clear the search bar to see the list of security sensitive words.</property>
|
|
@@ -244,7 +244,7 @@
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_start">4</property>
|
|
- <property name="icon_name">media-record</property>
|
|
+ <property name="icon_name">media-record-symbolic</property>
|
|
<property name="icon_size">1</property>
|
|
</object>
|
|
<packing>
|
|
@@ -761,7 +761,7 @@
|
|
<object class="GtkImage" id="img_process_fail">
|
|
<property name="can_focus">False</property>
|
|
<property name="no_show_all">True</property>
|
|
- <property name="icon_name">dialog-error</property>
|
|
+ <property name="icon_name">dialog-error-symbolic</property>
|
|
<property name="icon_size">1</property>
|
|
</object>
|
|
<packing>
|
|
--
|
|
2.1.0
|
|
|