[gtk+] Wayland: Set gtk-dialogs-use-header
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Wayland: Set gtk-dialogs-use-header
- Date: Fri, 7 Feb 2014 03:52:04 +0000 (UTC)
commit 8e797c1195b2a6b45a83e2fe321eb9d1faa2e8c6
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 6 22:51:05 2014 -0500
Wayland: Set gtk-dialogs-use-header
Since we don't have a setting for this, hardcode the value
for now.
gdk/wayland/gdkscreen-wayland.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c
index 661ecd9..7084296 100644
--- a/gdk/wayland/gdkscreen-wayland.c
+++ b/gdk/wayland/gdkscreen-wayland.c
@@ -718,6 +718,12 @@ gdk_wayland_screen_get_setting (GdkScreen *screen,
if (strcmp (name, "gtk-shell-shows-desktop") == 0)
return set_capability_setting (screen, value, GTK_SHELL_CAPABILITY_DESKTOP_ICONS);
+ if (strcmp (name, "gtk-dialogs-use-header") == 0)
+ {
+ g_value_set_boolean (value, TRUE);
+ return TRUE;
+ }
+
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]