summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-06-01 15:17:43 +0200
committerlukefromdc <[email protected]>2018-06-04 00:30:48 -0400
commit347e1f170005496ce1bf3e672f46419dca6b558e (patch)
tree5be84bf266d3e8d8b3091daf5e9ab0b2088e9b0e /libcaja-private
parentcfc9b47cf1bfb49bec5eaae30af4c7726496f81f (diff)
downloadcaja-347e1f170005496ce1bf3e672f46419dca6b558e.tar.bz2
caja-347e1f170005496ce1bf3e672f46419dca6b558e.tar.xz
avoid deprecated 'gtk_window_set_wmclass'
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-file-operations.c2
-rw-r--r--libcaja-private/caja-progress-info.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/libcaja-private/caja-file-operations.c b/libcaja-private/caja-file-operations.c
index fd9fe9cb..41e4f129 100644
--- a/libcaja-private/caja-file-operations.c
+++ b/libcaja-private/caja-file-operations.c
@@ -2339,8 +2339,6 @@ prompt_empty_trash (GtkWindow *parent_window)
gtk_window_set_screen (GTK_WINDOW (dialog), screen);
}
atk_object_set_role (gtk_widget_get_accessible (dialog), ATK_ROLE_ALERT);
- gtk_window_set_wmclass (GTK_WINDOW (dialog), "empty_trash",
- "Caja");
/* Make transient for the window group */
gtk_widget_realize (dialog);
diff --git a/libcaja-private/caja-progress-info.c b/libcaja-private/caja-progress-info.c
index d4d31ebe..739c692b 100644
--- a/libcaja-private/caja-progress-info.c
+++ b/libcaja-private/caja-progress-info.c
@@ -239,10 +239,10 @@ get_progress_window ()
gtk_window_set_title (GTK_WINDOW (progress_window),
_("File Operations"));
- gtk_window_set_wmclass (GTK_WINDOW (progress_window),
- "file_progress", "Caja");
+
gtk_window_set_position (GTK_WINDOW (progress_window),
GTK_WIN_POS_CENTER);
+
gtk_window_set_icon_name (GTK_WINDOW (progress_window),
"system-file-manager");