Skip to content
Permalink
Browse files

EomPreferencesDialog: Convert to GtkBuilder template

Also embed the plugin manager into the template directly.

origin commit:
https://gitlab.gnome.org/GNOME/eog/commit/f96947c
  • Loading branch information...
Felix Riemann authored and raveit65 committed May 3, 2014
1 parent b18e263 commit 4b4a6119bce67e6b680077e31b070e37c5f11d67
Showing with 178 additions and 191 deletions.
  1. +1 −1 data/Makefile.am
  2. +14 −6 data/eom-preferences-dialog.ui
  3. +157 −178 src/eom-preferences-dialog.c
  4. +3 −4 src/eom-preferences-dialog.h
  5. +2 −2 src/eom-window.c
  6. +1 −0 src/eom.gresource.xml
@@ -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) \
@@ -2,27 +2,26 @@
<!-- 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>
<property name="value">5</property>
<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>
Oops, something went wrong.

0 comments on commit 4b4a611

Please sign in to comment.
You can’t perform that action at this time.