diff options
author | Andre Miranda <andre42m@gmail.com> | 2017-08-11 00:08:45 -0300 |
---|---|---|
committer | Andre Miranda <andre42m@gmail.com> | 2017-09-09 10:52:43 -0300 |
commit | 499dbda58eb1adc2bd9eb0c377bb568b2e08b3d8 (patch) | |
tree | 0de0a9e4455c34902216c4127062aeb2c6b8c0cd /thunar-volman-settings | |
parent | b810a1010d325841c585c819012ddfdfefdb2bfb (diff) | |
download | thunar-volman-499dbda58eb1adc2bd9eb0c377bb568b2e08b3d8.tar.gz |
Replace stock icons
Diffstat (limited to 'thunar-volman-settings')
-rw-r--r-- | thunar-volman-settings/tvm-command-entry.c | 6 | ||||
-rw-r--r-- | 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 (); |