[glade] GladeEntryEditor: Added an extension port and added to the private catalog.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] GladeEntryEditor: Added an extension port and added to the private catalog.
- Date: Sat, 11 May 2013 21:09:05 +0000 (UTC)
commit 5ca9b80a4f36330cb24678dd3c7f5f48be1e1a7e
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Sat May 11 19:30:34 2013 +0900
GladeEntryEditor: Added an extension port and added to the private catalog.
plugins/gtk+/glade-entry-editor.c | 15 ++
plugins/gtk+/glade-entry-editor.ui | 301 ++++++++---------------------
plugins/gtk-private/glade-gtk-private.xml | 13 ++
3 files changed, 106 insertions(+), 223 deletions(-)
---
diff --git a/plugins/gtk+/glade-entry-editor.c b/plugins/gtk+/glade-entry-editor.c
index 70711db..79b07db 100644
--- a/plugins/gtk+/glade-entry-editor.c
+++ b/plugins/gtk+/glade-entry-editor.c
@@ -45,6 +45,7 @@ static void secondary_tooltip_markup_toggled (GtkWidget *widget, GladeEntryEdito
struct _GladeEntryEditorPrivate
{
GtkWidget *embed;
+ GtkWidget *extension_port;
GtkWidget *text_radio;
GtkWidget *buffer_radio;
@@ -93,6 +94,7 @@ glade_entry_editor_class_init (GladeEntryEditorClass * klass)
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/gladegtk/glade-entry-editor.ui");
+ gtk_widget_class_bind_child_internal (widget_class, GladeEntryEditorPrivate, extension_port);
gtk_widget_class_bind_child (widget_class, GladeEntryEditorPrivate, embed);
gtk_widget_class_bind_child (widget_class, GladeEntryEditorPrivate, text_radio);
gtk_widget_class_bind_child (widget_class, GladeEntryEditorPrivate, buffer_radio);
@@ -626,3 +628,16 @@ glade_entry_editor_new (void)
{
return g_object_new (GLADE_TYPE_ENTRY_EDITOR, NULL);
}
+
+/*************************************
+ * Private Plugin Extensions *
+ *************************************/
+void
+glade_entry_editor_post_create (GladeWidgetAdaptor *adaptor,
+ GObject *editor,
+ GladeCreateReason reason)
+{
+ GladeEntryEditorPrivate *priv = GLADE_ENTRY_EDITOR (editor)->priv;
+
+ gtk_widget_show (priv->extension_port);
+}
diff --git a/plugins/gtk+/glade-entry-editor.ui b/plugins/gtk+/glade-entry-editor.ui
index 7599143..7cf2da0 100644
--- a/plugins/gtk+/glade-entry-editor.ui
+++ b/plugins/gtk+/glade-entry-editor.ui
@@ -1,27 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="glade">
+ <!-- interface-requires gtk+ 3.10 -->
<!-- interface-requires gladeui 0.0 -->
- <!-- interface-requires gtk+ 3.8 -->
<template class="GladeEntryEditor" parent="GladeEditorSkeleton">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkGrid" id="grid">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="row_spacing">6</property>
<property name="column_spacing">6</property>
<child>
<object class="GtkLabel" id="entry_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="label" translatable="yes">Entry</property>
@@ -31,7 +25,7 @@
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">1</property>
+ <property name="top_attach">2</property>
<property name="width">6</property>
<property name="height">1</property>
</packing>
@@ -40,8 +34,6 @@
<object class="GladeEditorTable" id="embed">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -54,15 +46,13 @@
<object class="GladePropertyLabel" id="completion_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">completion</property>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">2</property>
+ <property name="top_attach">3</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -71,14 +61,12 @@
<object class="GladePropertyShell" id="completion_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">completion</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">2</property>
+ <property name="top_attach">3</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -87,15 +75,13 @@
<object class="GladePropertyLabel" id="purpose_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">input-purpose</property>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">3</property>
+ <property name="top_attach">4</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -104,14 +90,12 @@
<object class="GladePropertyShell" id="purpose_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">input-purpose</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">3</property>
+ <property name="top_attach">4</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -120,8 +104,6 @@
<object class="GladePropertyLabel" id="hints_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">input-hints</property>
@@ -129,7 +111,7 @@
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">4</property>
+ <property name="top_attach">5</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -138,14 +120,12 @@
<object class="GladePropertyShell" id="hints_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">input-hints</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">4</property>
+ <property name="top_attach">5</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -154,8 +134,6 @@
<object class="GladePropertyShell" id="visibility_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">visibility</property>
@@ -163,7 +141,7 @@
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">8</property>
+ <property name="top_attach">9</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -172,14 +150,12 @@
<object class="GladePropertyShell" id="invisible_char_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">invisible-char</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">8</property>
+ <property name="top_attach">9</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -188,8 +164,6 @@
<object class="GladePropertyShell" id="has_frame_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">has-frame</property>
@@ -197,7 +171,7 @@
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">9</property>
+ <property name="top_attach">10</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -206,14 +180,12 @@
<object class="GladePropertyShell" id="shadow_type_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">shadow-type</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">9</property>
+ <property name="top_attach">10</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -222,8 +194,6 @@
<object class="GladePropertyShell" id="editable_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">editable</property>
@@ -231,7 +201,7 @@
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">10</property>
+ <property name="top_attach">11</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -240,15 +210,13 @@
<object class="GladePropertyShell" id="activates_default_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">activates-default</property>
<property name="editor_type">GladeEpropCheck</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">10</property>
+ <property name="top_attach">11</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -257,8 +225,6 @@
<object class="GladePropertyShell" id="overwrite_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">overwrite-mode</property>
@@ -266,7 +232,7 @@
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">11</property>
+ <property name="top_attach">12</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -275,15 +241,13 @@
<object class="GladePropertyShell" id="truncate_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">truncate-multiline</property>
<property name="editor_type">GladeEpropCheck</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">11</property>
+ <property name="top_attach">12</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -292,8 +256,6 @@
<object class="GladePropertyShell" id="caps_warn_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">caps-lock-warning</property>
@@ -301,7 +263,7 @@
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">12</property>
+ <property name="top_attach">13</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -310,15 +272,13 @@
<object class="GladePropertyLabel" id="max_length_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">max-length</property>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">5</property>
+ <property name="top_attach">6</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -327,14 +287,12 @@
<object class="GladePropertyShell" id="max_length_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">max-length</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">5</property>
+ <property name="top_attach">6</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -343,15 +301,13 @@
<object class="GladePropertyShell" id="populate_all_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">populate-all</property>
<property name="editor_type">GladeEpropCheck</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">12</property>
+ <property name="top_attach">13</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -360,8 +316,6 @@
<object class="GtkLabel" id="text_title">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="label" translatable="yes">Text</property>
@@ -371,7 +325,7 @@
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">13</property>
+ <property name="top_attach">14</property>
<property name="width">6</property>
<property name="height">1</property>
</packing>
@@ -380,8 +334,6 @@
<object class="GtkRadioButton" id="text_radio">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="receives_default">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
@@ -393,15 +345,13 @@
<object class="GladePropertyLabel" id="text_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="property_name">text</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">14</property>
+ <property name="top_attach">15</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -410,14 +360,12 @@
<object class="GladePropertyShell" id="text-editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">True</property>
<property name="property_name">text</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">14</property>
+ <property name="top_attach">15</property>
<property name="width">4</property>
<property name="height">1</property>
</packing>
@@ -426,8 +374,6 @@
<object class="GtkRadioButton" id="buffer_radio">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="receives_default">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
@@ -440,15 +386,13 @@
<object class="GladePropertyLabel" id="buffer_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="property_name">buffer</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">15</property>
+ <property name="top_attach">16</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -457,14 +401,12 @@
<object class="GladePropertyShell" id="buffer_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">True</property>
<property name="property_name">buffer</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">15</property>
+ <property name="top_attach">16</property>
<property name="width">4</property>
<property name="height">1</property>
</packing>
@@ -473,15 +415,13 @@
<object class="GladePropertyLabel" id="placeholder_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">placeholder-text</property>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">16</property>
+ <property name="top_attach">17</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -490,14 +430,12 @@
<object class="GladePropertyShell" id="placeholder_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">True</property>
<property name="property_name">placeholder-text</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">16</property>
+ <property name="top_attach">17</property>
<property name="width">4</property>
<property name="height">1</property>
</packing>
@@ -506,8 +444,6 @@
<object class="GtkLabel" id="progress_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="label" translatable="yes">Progress</property>
@@ -517,7 +453,7 @@
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">17</property>
+ <property name="top_attach">18</property>
<property name="width">6</property>
<property name="height">1</property>
</packing>
@@ -526,15 +462,13 @@
<object class="GladePropertyLabel" id="fraction_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">progress-fraction</property>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">18</property>
+ <property name="top_attach">19</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -543,14 +477,12 @@
<object class="GladePropertyShell" id="fraction_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">progress-fraction</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">18</property>
+ <property name="top_attach">19</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -559,15 +491,13 @@
<object class="GladePropertyLabel" id="pulse_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">progress-pulse-step</property>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">19</property>
+ <property name="top_attach">20</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -576,14 +506,12 @@
<object class="GladePropertyShell" id="pulse_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">progress-pulse-step</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">19</property>
+ <property name="top_attach">20</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -592,8 +520,6 @@
<object class="GtkLabel" id="primary_icon_title">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="label" translatable="yes">Primary Icon</property>
@@ -603,7 +529,7 @@
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">20</property>
+ <property name="top_attach">21</property>
<property name="width">6</property>
<property name="height">1</property>
</packing>
@@ -612,8 +538,6 @@
<object class="GtkRadioButton" id="primary_stock_radio">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="receives_default">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
@@ -625,15 +549,13 @@
<object class="GladePropertyLabel" id="primary_stock_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="property_name">primary-icon-stock</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">21</property>
+ <property name="top_attach">22</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -642,14 +564,12 @@
<object class="GladePropertyShell" id="primary_stock_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">primary-icon-stock</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">21</property>
+ <property name="top_attach">22</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -658,8 +578,6 @@
<object class="GtkRadioButton" id="primary_icon_name_radio">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="receives_default">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
@@ -672,15 +590,13 @@
<object class="GladePropertyLabel" id="primary_icon_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="property_name">primary-icon-name</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">22</property>
+ <property name="top_attach">23</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -689,8 +605,6 @@
<object class="GtkRadioButton" id="primary_pixbuf_radio">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="receives_default">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
@@ -703,15 +617,13 @@
<object class="GladePropertyLabel" id="primary_pixbuf_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="property_name">primary-icon-pixbuf</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">23</property>
+ <property name="top_attach">24</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -720,14 +632,12 @@
<object class="GladePropertyShell" id="primary_icon_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">primary-icon-name</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">22</property>
+ <property name="top_attach">23</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -736,14 +646,12 @@
<object class="GladePropertyShell" id="primary_pixbuf_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">primary-icon-pixbuf</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">23</property>
+ <property name="top_attach">24</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -752,8 +660,6 @@
<object class="GtkNotebook" id="primary_tooltip_notebook">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="show_tabs">False</property>
@@ -762,8 +668,6 @@
<object class="GladePropertyLabel" id="primary_tooltip_text_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="property_name">primary-icon-tooltip-text</property>
<property name="custom_text" translatable="yes">Tooltip:</property>
</object>
@@ -775,8 +679,6 @@
<object class="GladePropertyLabel" id="primary_tooltip_markup_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="property_name">primary-icon-tooltip-markup</property>
<property name="custom_text" translatable="yes">Tooltip:</property>
</object>
@@ -790,7 +692,7 @@
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">25</property>
+ <property name="top_attach">26</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -800,8 +702,6 @@
<property name="label" translatable="yes">Use markup</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Whether to use markup in the
primary icon's tooltip
@@ -814,7 +714,7 @@ primary icon's tooltip
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">26</property>
+ <property name="top_attach">27</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -823,8 +723,6 @@ primary icon's tooltip
<object class="GtkNotebook" id="primary_tooltip_editor_notebook">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">True</property>
<property name="show_tabs">False</property>
<property name="show_border">False</property>
@@ -832,8 +730,6 @@ primary icon's tooltip
<object class="GladePropertyShell" id="primary_tooltip_text_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">True</property>
<property name="property_name">primary-icon-tooltip-text</property>
</object>
@@ -845,8 +741,6 @@ primary icon's tooltip
<object class="GladePropertyShell" id="primary_tooltip_markup_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">True</property>
<property name="property_name">primary-icon-tooltip-markup</property>
</object>
@@ -860,7 +754,7 @@ primary icon's tooltip
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">24</property>
+ <property name="top_attach">25</property>
<property name="width">4</property>
<property name="height">3</property>
</packing>
@@ -869,8 +763,6 @@ primary icon's tooltip
<object class="GladePropertyShell" id="primary_icon_sensitive_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">primary-icon-sensitive</property>
@@ -878,7 +770,7 @@ primary icon's tooltip
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">27</property>
+ <property name="top_attach">28</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -887,15 +779,13 @@ primary icon's tooltip
<object class="GladePropertyShell" id="primary_icon_activatable_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">primary-icon-activatable</property>
<property name="editor_type">GladeEpropCheck</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">27</property>
+ <property name="top_attach">28</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -904,8 +794,6 @@ primary icon's tooltip
<object class="GtkLabel" id="secondary_icon_title">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="label" translatable="yes">Secondary Icon</property>
@@ -915,7 +803,7 @@ primary icon's tooltip
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">28</property>
+ <property name="top_attach">29</property>
<property name="width">6</property>
<property name="height">1</property>
</packing>
@@ -924,8 +812,6 @@ primary icon's tooltip
<object class="GtkRadioButton" id="secondary_stock_radio">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="receives_default">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
@@ -937,15 +823,13 @@ primary icon's tooltip
<object class="GladePropertyLabel" id="secondary_stock_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="property_name">secondary-icon-stock</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">29</property>
+ <property name="top_attach">30</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -954,8 +838,6 @@ primary icon's tooltip
<object class="GtkRadioButton" id="secondary_icon_name_radio">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="receives_default">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
@@ -968,15 +850,13 @@ primary icon's tooltip
<object class="GladePropertyLabel" id="secondary_icon_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="property_name">secondary-icon-name</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">30</property>
+ <property name="top_attach">31</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -985,8 +865,6 @@ primary icon's tooltip
<object class="GtkRadioButton" id="secondary_pixbuf_radio">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="receives_default">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
@@ -999,15 +877,13 @@ primary icon's tooltip
<object class="GladePropertyLabel" id="secondary_pixbuf_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="property_name">secondary-icon-pixbuf</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">31</property>
+ <property name="top_attach">32</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -1016,14 +892,12 @@ primary icon's tooltip
<object class="GladePropertyShell" id="secondary_stock_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">secondary-icon-stock</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">29</property>
+ <property name="top_attach">30</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -1032,14 +906,12 @@ primary icon's tooltip
<object class="GladePropertyShell" id="secondary_icon_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">secondary-icon-name</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">30</property>
+ <property name="top_attach">31</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -1048,14 +920,12 @@ primary icon's tooltip
<object class="GladePropertyShell" id="secondary_pixbuf_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">secondary-icon-pixbuf</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">31</property>
+ <property name="top_attach">32</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -1064,8 +934,6 @@ primary icon's tooltip
<object class="GtkNotebook" id="secondary_tooltip_notebook">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="show_tabs">False</property>
@@ -1074,8 +942,6 @@ primary icon's tooltip
<object class="GladePropertyLabel" id="secondary_tooltip_text_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="property_name">secondary-icon-tooltip-text</property>
<property name="custom_text" translatable="yes">Tooltip:</property>
</object>
@@ -1087,8 +953,6 @@ primary icon's tooltip
<object class="GladePropertyLabel" id="secondary_tooltip_markup_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="property_name">secondary-icon-tooltip-markup</property>
<property name="custom_text" translatable="yes">Tooltip:</property>
</object>
@@ -1102,7 +966,7 @@ primary icon's tooltip
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">33</property>
+ <property name="top_attach">34</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -1112,8 +976,6 @@ primary icon's tooltip
<property name="label" translatable="yes">Use markup</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Whether to use markup in the
primary icon's tooltip</property>
@@ -1125,7 +987,7 @@ primary icon's tooltip</property>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">34</property>
+ <property name="top_attach">35</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -1134,8 +996,6 @@ primary icon's tooltip</property>
<object class="GtkNotebook" id="secondary_tooltip_editor_notebook">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">True</property>
<property name="show_tabs">False</property>
<property name="show_border">False</property>
@@ -1143,8 +1003,6 @@ primary icon's tooltip</property>
<object class="GladePropertyShell" id="secondary_tooltip_text_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">True</property>
<property name="property_name">secondary-icon-tooltip-text</property>
</object>
@@ -1156,8 +1014,6 @@ primary icon's tooltip</property>
<object class="GladePropertyShell" id="secondary_tooltip_markup_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">True</property>
<property name="property_name">secondary-icon-tooltip-markup</property>
</object>
@@ -1171,7 +1027,7 @@ primary icon's tooltip</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">32</property>
+ <property name="top_attach">33</property>
<property name="width">4</property>
<property name="height">3</property>
</packing>
@@ -1180,8 +1036,6 @@ primary icon's tooltip</property>
<object class="GladePropertyShell" id="secondary_icon_sensitive_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">secondary-icon-sensitive</property>
@@ -1189,7 +1043,7 @@ primary icon's tooltip</property>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">35</property>
+ <property name="top_attach">36</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -1198,15 +1052,13 @@ primary icon's tooltip</property>
<object class="GladePropertyShell" id="secondary_icon_activatable_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">secondary-icon-activatable</property>
<property name="editor_type">GladeEpropCheck</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">35</property>
+ <property name="top_attach">36</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -1215,15 +1067,13 @@ primary icon's tooltip</property>
<object class="GladePropertyLabel" id="invisible_char_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="halign">end</property>
<property name="hexpand">False</property>
<property name="property_name">invisible-char</property>
</object>
<packing>
<property name="left_attach">1</property>
- <property name="top_attach">8</property>
+ <property name="top_attach">9</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -1232,15 +1082,13 @@ primary icon's tooltip</property>
<object class="GladePropertyLabel" id="shadow_type_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="halign">end</property>
<property name="hexpand">False</property>
<property name="property_name">shadow-type</property>
</object>
<packing>
<property name="left_attach">1</property>
- <property name="top_attach">9</property>
+ <property name="top_attach">10</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -1249,15 +1097,13 @@ primary icon's tooltip</property>
<object class="GladePropertyLabel" id="width_chars_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">width-chars</property>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">6</property>
+ <property name="top_attach">7</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -1266,14 +1112,12 @@ primary icon's tooltip</property>
<object class="GladePropertyShell" id="width_chars_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">width-chars</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">6</property>
+ <property name="top_attach">7</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -1282,8 +1126,6 @@ primary icon's tooltip</property>
<object class="GladePropertyLabel" id="xalign_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">xalign</property>
@@ -1291,7 +1133,7 @@ primary icon's tooltip</property>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">7</property>
+ <property name="top_attach">8</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
@@ -1300,19 +1142,32 @@ primary icon's tooltip</property>
<object class="GladePropertyShell" id="xalign_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_focus">False</property>
- <property name="is_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">xalign</property>
</object>
<packing>
<property name="left_attach">2</property>
- <property name="top_attach">7</property>
+ <property name="top_attach">8</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
+ <object class="GtkBox" id="extension_port">
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ <property name="width">6</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
<placeholder/>
</child>
<child>
diff --git a/plugins/gtk-private/glade-gtk-private.xml b/plugins/gtk-private/glade-gtk-private.xml
index 14b6505..b173797 100644
--- a/plugins/gtk-private/glade-gtk-private.xml
+++ b/plugins/gtk-private/glade-gtk-private.xml
@@ -33,6 +33,18 @@
<object name="extension_port" anarchist="True"/>
</internal-children>
</glade-widget-class>
+
+ <glade-widget-class name="GladeEntryEditor" generic-name="entryeditor" title="Entry Editor"
+ icon-name="widget-gtk-entry">
+ <post-create-function>glade_entry_editor_post_create</post-create-function>
+ <properties>
+ <property id="size" disabled="True"/>
+ </properties>
+ <internal-children>
+ <object name="extension_port" anarchist="True"/>
+ </internal-children>
+ </glade-widget-class>
+
</glade-widget-classes>
<glade-widget-group name="glade-gtk-plugin" title="GTK+ Plugin Editors">
@@ -43,6 +55,7 @@
<glade-widget-class-ref name="GladeWindowEditor"/>
<glade-widget-class-ref name="GladeActivatableEditor"/>
<glade-widget-class-ref name="GladeButtonEditor"/>
+ <glade-widget-class-ref name="GladeEntryEditor"/>
<glade-widget-class-ref name="GladeFileChooserEditor"/>
<glade-widget-class-ref name="GladeFontChooserEditor"/>
<glade-widget-class-ref name="GladeRecentChooserEditor"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]