[gtk+] Fix oversights in templates
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix oversights in templates
- Date: Wed, 29 Jul 2015 19:15:43 +0000 (UTC)
commit 8695cf3c5a6195aa46afafe64ade0dff55f3765c
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 29 15:15:10 2015 -0400
Fix oversights in templates
Some of our templates were not setting the domain attribute
on the <interface> element.
gtk/ui/gtkapplication-quartz.ui | 3 ++-
gtk/ui/gtkfilechooserdialog.ui | 2 +-
gtk/ui/gtkplacesview.ui | 2 +-
gtk/ui/gtkplacesviewrow.ui | 2 +-
gtk/ui/gtksidebarrow.ui | 2 +-
5 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/gtk/ui/gtkapplication-quartz.ui b/gtk/ui/gtkapplication-quartz.ui
index efa969e..876e1c5 100644
--- a/gtk/ui/gtkapplication-quartz.ui
+++ b/gtk/ui/gtkapplication-quartz.ui
@@ -1,4 +1,5 @@
-<interface>
+<?xml version="1.0" encoding="UTF-8"?>
+<interface domain="gtk30">
<menu id='app-menu'>
<section>
<item>
diff --git a/gtk/ui/gtkfilechooserdialog.ui b/gtk/ui/gtkfilechooserdialog.ui
index 2ba4f88..68056a6 100644
--- a/gtk/ui/gtkfilechooserdialog.ui
+++ b/gtk/ui/gtkfilechooserdialog.ui
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="gtk30">
<!-- interface-requires gtk+ 3.10 -->
<template class="GtkFileChooserDialog" parent="GtkDialog">
<property name="role">GtkFileChooserDialog</property>
diff --git a/gtk/ui/gtkplacesview.ui b/gtk/ui/gtkplacesview.ui
index 9d2c39e..9b02549 100644
--- a/gtk/ui/gtkplacesview.ui
+++ b/gtk/ui/gtkplacesview.ui
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="gtk30">
<requires lib="gtk+" version="3.16"/>
<object class="GtkListStore" id="completion_store">
<columns>
diff --git a/gtk/ui/gtkplacesviewrow.ui b/gtk/ui/gtkplacesviewrow.ui
index 6ca241f..c46079b 100644
--- a/gtk/ui/gtkplacesviewrow.ui
+++ b/gtk/ui/gtkplacesviewrow.ui
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="gtk30">
<requires lib="gtk+" version="3.16"/>
<template class="GtkPlacesViewRow" parent="GtkListBoxRow">
<property name="width_request">100</property>
diff --git a/gtk/ui/gtksidebarrow.ui b/gtk/ui/gtksidebarrow.ui
index 8f6f307..7df6754 100644
--- a/gtk/ui/gtksidebarrow.ui
+++ b/gtk/ui/gtksidebarrow.ui
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="gtk30">
<template class="GtkSidebarRow" parent="GtkListBoxRow">
<property name="visible">True</property>
<property name="margin-top">1</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]