summaryrefslogtreecommitdiff
path: root/src/caja-connect-server-dialog.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-22 01:59:31 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-22 01:59:31 +0100
commitff6a32e8002be01e253a61a4abb9b61961252ddd (patch)
tree92bb3e637c72498f11659afb523c26db855c3830 /src/caja-connect-server-dialog.c
parentd99b7141da19a746a9329daece4a83704f0101b5 (diff)
downloadcaja-ff6a32e8002be01e253a61a4abb9b61961252ddd.tar.bz2
caja-ff6a32e8002be01e253a61a4abb9b61961252ddd.tar.xz
Gtk3: fix all possible deprecated GtkStock in src
Diffstat (limited to 'src/caja-connect-server-dialog.c')
-rw-r--r--src/caja-connect-server-dialog.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/caja-connect-server-dialog.c b/src/caja-connect-server-dialog.c
index f2c7782c..312bcf4a 100644
--- a/src/caja-connect-server-dialog.c
+++ b/src/caja-connect-server-dialog.c
@@ -222,7 +222,7 @@ connect_dialog_gvfs_error (CajaConnectServerDialog *dialog)
gtk_container_add (GTK_CONTAINER (content_area), hbox);
gtk_widget_show (hbox);
- image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_ERROR, GTK_ICON_SIZE_SMALL_TOOLBAR);
+ image = gtk_image_new_from_icon_name ("dialog-error", GTK_ICON_SIZE_SMALL_TOOLBAR);
gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 6);
gtk_widget_show (image);
@@ -251,7 +251,7 @@ iconized_entry_restore (gpointer data,
entry = data;
dialog = user_data;
- gtk_entry_set_icon_from_stock (GTK_ENTRY (entry),
+ gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry),
GTK_ENTRY_ICON_SECONDARY,
NULL);
@@ -278,9 +278,9 @@ iconize_entry (CajaConnectServerDialog *dialog,
dialog->details->iconized_entries =
g_list_prepend (dialog->details->iconized_entries, entry);
- gtk_entry_set_icon_from_stock (GTK_ENTRY (entry),
+ gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry),
GTK_ENTRY_ICON_SECONDARY,
- GTK_STOCK_DIALOG_WARNING);
+ "dialog-warning");
gtk_widget_grab_focus (entry);
@@ -338,7 +338,7 @@ connect_dialog_set_info_bar_error (CajaConnectServerDialog *dialog,
gtk_box_pack_start (GTK_BOX (content_area), hbox, FALSE, FALSE, 6);
gtk_widget_show (hbox);
- icon = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING,
+ icon = gtk_image_new_from_icon_name ("dialog-warning",
GTK_ICON_SIZE_SMALL_TOOLBAR);
gtk_box_pack_start (GTK_BOX (hbox), icon, FALSE, FALSE, 6);
gtk_widget_show (icon);
@@ -414,7 +414,7 @@ connect_dialog_request_additional_details (CajaConnectServerDialog *self,
gtk_box_pack_start (GTK_BOX (content_area), hbox, FALSE, FALSE, 6);
gtk_widget_show (hbox);
- icon = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING,
+ icon = gtk_image_new_from_icon_name ("dialog-warning",
GTK_ICON_SIZE_SMALL_TOOLBAR);
gtk_box_pack_start (GTK_BOX (hbox), icon, FALSE, FALSE, 6);
gtk_widget_show (icon);