summaryrefslogtreecommitdiff
path: root/src
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 /src
parentcfc9b47cf1bfb49bec5eaae30af4c7726496f81f (diff)
downloadcaja-347e1f170005496ce1bf3e672f46419dca6b558e.tar.bz2
caja-347e1f170005496ce1bf3e672f46419dca6b558e.tar.xz
avoid deprecated 'gtk_window_set_wmclass'
Diffstat (limited to 'src')
-rw-r--r--src/caja-bookmarks-window.c1
-rw-r--r--src/caja-desktop-window.c3
-rw-r--r--src/caja-property-browser.c2
-rw-r--r--src/file-manager/fm-properties-window.c1
4 files changed, 1 insertions, 6 deletions
diff --git a/src/caja-bookmarks-window.c b/src/caja-bookmarks-window.c
index e94ce944..b5ac38b8 100644
--- a/src/caja-bookmarks-window.c
+++ b/src/caja-bookmarks-window.c
@@ -286,7 +286,6 @@ create_bookmarks_window (CajaBookmarkList *list, CajaWindow *window_source)
set_up_close_accelerator (window);
- gtk_window_set_wmclass (GTK_WINDOW (window), "bookmarks", "Caja");
caja_bookmarks_window_restore_geometry (window);
g_object_weak_ref (G_OBJECT (window_source), edit_bookmarks_dialog_reset_signals,
diff --git a/src/caja-desktop-window.c b/src/caja-desktop-window.c
index 16242dcd..edba0e33 100644
--- a/src/caja-desktop-window.c
+++ b/src/caja-desktop-window.c
@@ -152,9 +152,6 @@ caja_desktop_window_new (CajaApplication *application,
/* will cause the desktop window to open at the wrong size in gtk 3.20 */
gtk_window_set_default_size (GTK_WINDOW (window), -1, -1);
- /* Special sawmill setting*/
- gtk_window_set_wmclass (GTK_WINDOW (window), "desktop_window", "Caja");
-
g_signal_connect (window, "delete_event", G_CALLBACK (caja_desktop_window_delete_event), NULL);
/* Point window at the desktop folder.
diff --git a/src/caja-property-browser.c b/src/caja-property-browser.c
index 2e80fee8..c674a450 100644
--- a/src/caja-property-browser.c
+++ b/src/caja-property-browser.c
@@ -292,7 +292,7 @@ caja_property_browser_init (CajaPropertyBrowser *property_browser)
/* set the title and standard close accelerator */
gtk_window_set_title (GTK_WINDOW (widget), _("Backgrounds and Emblems"));
- gtk_window_set_wmclass (GTK_WINDOW (widget), "property_browser", "Caja");
+
gtk_window_set_type_hint (GTK_WINDOW (widget), GDK_WINDOW_TYPE_HINT_DIALOG);
GtkStyleContext *context;
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c
index d5f7b4eb..885d9f56 100644
--- a/src/file-manager/fm-properties-window.c
+++ b/src/file-manager/fm-properties-window.c
@@ -5087,7 +5087,6 @@ create_properties_window (StartupData *startup_data)
window->details->target_files = caja_file_list_copy (startup_data->target_files);
- gtk_window_set_wmclass (GTK_WINDOW (window), "file_properties", "Caja");
gtk_window_set_screen (GTK_WINDOW (window),
gtk_widget_get_screen (startup_data->parent_widget));