[Xfce4-commits] [xfce/thunar-volman] 05/11: Replace stock icons
noreply at xfce.org
noreply at xfce.org
Sat Sep 9 16:04:55 CEST 2017
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/thunar-volman.
commit 499dbda58eb1adc2bd9eb0c377bb568b2e08b3d8
Author: Andre Miranda <andre42m at gmail.com>
Date: Fri Aug 11 00:08:45 2017 -0300
Replace stock icons
---
thunar-volman-settings/tvm-command-entry.c | 6 +++---
thunar-volman-settings/tvm-preferences-dialog.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/thunar-volman-settings/tvm-command-entry.c b/thunar-volman-settings/tvm-command-entry.c
index dd803d5..e764fe6 100644
--- a/thunar-volman-settings/tvm-command-entry.c
+++ b/thunar-volman-settings/tvm-command-entry.c
@@ -154,7 +154,7 @@ tvm_command_entry_init (TvmCommandEntry *command_entry)
gtk_box_pack_start (GTK_BOX (command_entry), button, FALSE, FALSE, 0);
gtk_widget_show (button);
- image = gtk_image_new_from_stock (GTK_STOCK_OPEN, GTK_ICON_SIZE_BUTTON);
+ image = gtk_image_new_from_icon_name ("document-open", GTK_ICON_SIZE_BUTTON);
gtk_container_add (GTK_CONTAINER (button), image);
gtk_widget_show (image);
}
@@ -240,8 +240,8 @@ tvm_command_entry_clicked (GtkWidget *button,
chooser = gtk_file_chooser_dialog_new (_("Select an Application"),
GTK_WINDOW (toplevel),
GTK_FILE_CHOOSER_ACTION_OPEN,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+ "gtk-cancel", GTK_RESPONSE_CANCEL,
+ "document-open", GTK_RESPONSE_ACCEPT,
NULL);
gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (chooser), TRUE);
diff --git a/thunar-volman-settings/tvm-preferences-dialog.c b/thunar-volman-settings/tvm-preferences-dialog.c
index ee6f4ad..9dbca85 100644
--- a/thunar-volman-settings/tvm-preferences-dialog.c
+++ b/thunar-volman-settings/tvm-preferences-dialog.c
@@ -104,7 +104,7 @@ tvm_preferences_dialog_init (TvmPreferencesDialog *dialog)
"and media"));
/* add "Help" button */
- button = gtk_button_new_from_stock (GTK_STOCK_HELP);
+ button = gtk_button_new_from_icon_name ("help-browser", GTK_ICON_SIZE_BUTTON);
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (tvm_preferences_dialog_help_clicked), dialog);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dialog))), button,
@@ -115,7 +115,7 @@ tvm_preferences_dialog_init (TvmPreferencesDialog *dialog)
/* add "Close" button */
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
- GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
+ "window-close", GTK_RESPONSE_CLOSE,
NULL);
notebook = gtk_notebook_new ();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list