summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorFelix Riemann <[email protected]>2014-05-03 20:22:31 +0200
committerraveit65 <[email protected]>2018-08-13 19:08:02 +0200
commit4b4a6119bce67e6b680077e31b070e37c5f11d67 (patch)
treef1429e83599e5e66969e0e4e3d51a7fb4a34a14e /data
parentb18e263d2e56de145d702a20a66bfca2631a65aa (diff)
downloadeom-4b4a6119bce67e6b680077e31b070e37c5f11d67.tar.bz2
eom-4b4a6119bce67e6b680077e31b070e37c5f11d67.tar.xz
EomPreferencesDialog: Convert to GtkBuilder template
Also embed the plugin manager into the template directly. origin commit: https://gitlab.gnome.org/GNOME/eog/commit/f96947c
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am2
-rw-r--r--data/eom-preferences-dialog.ui20
2 files changed, 15 insertions, 7 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index f822dd5..fdcce09 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -22,7 +22,6 @@ gsettings_SCHEMAS = org.mate.eom.gschema.xml
uidir = $(pkgdatadir)
ui_DATA = \
- eom-preferences-dialog.ui \
eom-toolbar.xml
pkgconfigdir = $(libdir)/pkgconfig
@@ -33,6 +32,7 @@ EXTRA_DIST = \
eom.css \
eom-image-properties-dialog.ui \
eom-multiple-save-as-dialog.ui \
+ eom-preferences-dialog.ui \
eom-ui.xml \
metadata-sidebar.ui \
$(DESKTOP_IN_FILES) \
diff --git a/data/eom-preferences-dialog.ui b/data/eom-preferences-dialog.ui
index 5b17d78..7e2d676 100644
--- a/data/eom-preferences-dialog.ui
+++ b/data/eom-preferences-dialog.ui
@@ -2,6 +2,7 @@
<!-- Generated with glade 3.20.0 -->
<interface>
<requires lib="gtk+" version="3.14"/>
+ <requires lib="libpeas-gtk" version="1.0"/>
<object class="GtkAdjustment" id="adjustment1">
<property name="lower">1</property>
<property name="upper">100</property>
@@ -9,20 +10,18 @@
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
- <object class="GtkDialog" id="eom_preferences_dialog">
+ <template class="EomPreferencesDialog" parent="GtkDialog">
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="title" translatable="yes">Eye of MATE Preferences</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child internal-child="action_area">
<object class="GtkButtonBox" id="dialog-action_area1">
- <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
@@ -369,7 +368,7 @@
</packing>
</child>
<child>
- <object class="GtkColorButton" id="color_button">
+ <object class="GtkColorButton" id="transp_color_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -700,7 +699,16 @@
<property name="border_width">12</property>
<property name="orientation">vertical</property>
<child>
- <placeholder/>
+ <object class="PeasGtkPluginManager" id="plugin_manager">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
</child>
</object>
<packing>
@@ -734,5 +742,5 @@
<style>
<class name="eom-preferences-dialog"/>
</style>
- </object>
+ </template>
</interface>