diff options
author | Paolo Maggi <paolo.maggi@polito.it> | 2003-06-03 15:39:29 +0000 |
---|---|---|
committer | Paolo Maggi <paolo@src.gnome.org> | 2003-06-03 15:39:29 +0000 |
commit | c7d841e96ae95878556ecc8e7bad23a702ca520f (patch) | |
tree | 28e4c6bf6ee5afa09445acd59505807d7d2b409c | |
parent | bd12094e7f9e99b7c2687fbf77f733175f3c12d1 (diff) | |
download | gedit-c7d841e96ae95878556ecc8e7bad23a702ca520f.tar.gz |
fixed plugin manager according to GNOME 2.2 ui-review (at least, according
2003-06-03 Paolo Maggi <paolo.maggi@polito.it>
* dialogs/gedit-plugin-manager.c:
* dialogs/plugin-manager.glade2: fixed plugin manager according to GNOME 2.2
ui-review (at least, according to what I remember since I don't have the log
of the part of the review containing the comments about plugin manager).
-rw-r--r-- | gedit/ChangeLog | 7 | ||||
-rw-r--r-- | gedit/dialogs/gedit-plugin-manager.c | 126 | ||||
-rw-r--r-- | gedit/dialogs/plugin-manager.glade2 | 525 |
3 files changed, 242 insertions, 416 deletions
diff --git a/gedit/ChangeLog b/gedit/ChangeLog index 9dd60010b..fad82d2dd 100644 --- a/gedit/ChangeLog +++ b/gedit/ChangeLog @@ -1,5 +1,12 @@ 2003-06-03 Paolo Maggi <paolo.maggi@polito.it> + * dialogs/gedit-plugin-manager.c: + * dialogs/plugin-manager.glade2: fixed plugin manager according to GNOME 2.2 + ui-review (at least, according to what I remember since I don't have the log + of the part of the review containing the comments about plugin manager). + +2003-06-03 Paolo Maggi <paolo.maggi@polito.it> + * gedit-document.c (gedit_document_find ): use gtk_source_iter_forward_search diff --git a/gedit/dialogs/gedit-plugin-manager.c b/gedit/dialogs/gedit-plugin-manager.c index 9f4976251..e04112e4e 100644 --- a/gedit/dialogs/gedit-plugin-manager.c +++ b/gedit/dialogs/gedit-plugin-manager.c @@ -51,7 +51,7 @@ #define PLUGIN_MANAGER_NAME_COLUMN 1 #define PLUGIN_MANAGER_NAME_TITLE _("Plugin") -#define PLUGIN_MANAGER_ACTIVE_TITLE _("Load") +#define PLUGIN_MANAGER_ACTIVE_TITLE _("Enabled") #define PLUGIN_MANAGER_LOGO "/gedit-plugin-manager.png" @@ -62,13 +62,10 @@ struct _GeditPluginManager { GtkWidget *tree; /* a GtkTreeView, shows plugins */ GtkWidget *notebook; /* a GtkNotebook, shows info about plugins */ - - GtkWidget *author; /* a GtkLabel, shows the author of the plugin */ - GtkWidget *filename; /* a GtkLabel, shows the filename of the plugin */ - GtkWidget *desc; /* a GtkLabel, shows the description of the plugin */ - GtkWidget *name; /* a GtkLabel, shows the name of the plugin */ - GtkWidget *copyright; /* a GtkLabel, shows the copyright info of the plugin */ - GtkWidget *configure_button; /* a GtkButton,configures a plugin when clicked */ + + GtkWidget *about_button; /* a GtkButton, show info about a plugin when clicked */ + + GtkWidget *configure_button; /* a GtkButton, configures a plugin when clicked */ const GList *plugins; /* a list of type GeditPlugin */ }; @@ -76,13 +73,70 @@ struct _GeditPluginManager { static GeditPluginInfo *plugin_manager_get_selected_plugin (GeditPluginManager *dialog); static void plugin_manager_toggle_active (GtkTreeIter *iter, GtkTreeModel *model); static void plugin_manager_toggle_all (GeditPluginManager *dialog); -static void plugin_manager_update_info (GeditPluginManager *dialog, - GeditPluginInfo *info); static void plugin_manager_destroyed (GtkObject *obj, void *dialog_pointer); static void +about_button_cb (GtkWidget *button, gpointer data) +{ + GeditPluginManager *pm = data; + GeditPluginInfo *info; + GtkWidget *about = NULL; + gchar **authors; + GdkPixbuf* pixbuf = NULL; + + gedit_debug (DEBUG_PLUGINS, ""); + + info = plugin_manager_get_selected_plugin (pm); + + g_return_if_fail (info != NULL); + + gedit_debug (DEBUG_PLUGINS, "About: %s\n", info->plugin->name); + + authors = g_strsplit (info->plugin->author, ", ", 0); + + pixbuf = gdk_pixbuf_new_from_file ( GNOME_ICONDIR "/gedit-plugin-manager.png", NULL); + if (pixbuf != NULL) + { + GdkPixbuf* temp_pixbuf = NULL; + + temp_pixbuf = gdk_pixbuf_scale_simple (pixbuf, + gdk_pixbuf_get_width (pixbuf), + gdk_pixbuf_get_height (pixbuf), + GDK_INTERP_HYPER); + g_object_unref (pixbuf); + + pixbuf = temp_pixbuf; + } + + about = gnome_about_new (info->plugin->name, + NULL, + info->plugin->copyright, + info->plugin->desc, + (const gchar**) authors, + NULL, + NULL, + pixbuf); + + if (pixbuf != NULL) + g_object_unref (pixbuf); + + if (authors != NULL) + g_strfreev (authors); + + gtk_window_set_transient_for (GTK_WINDOW (about), + GTK_WINDOW (gtk_widget_get_toplevel (pm->page))); + + gtk_window_set_destroy_with_parent (GTK_WINDOW (about), TRUE); + + gtk_widget_show (about); + + + gedit_debug (DEBUG_PLUGINS, "Done"); +} + +static void configure_button_cb (GtkWidget *button, gpointer data) { GeditPluginManager *pm = data; @@ -170,8 +224,6 @@ cursor_changed_cb (GtkTreeView *view, gpointer data) gtk_widget_set_sensitive (GTK_WIDGET (dialog->configure_button), gedit_plugins_engine_is_a_configurable_plugin (info->plugin)); - - plugin_manager_update_info (dialog, info); } static void @@ -249,8 +301,6 @@ plugin_manager_populate_lists (GeditPluginManager *dialog) gtk_widget_set_sensitive (GTK_WIDGET (dialog->configure_button), gedit_plugins_engine_is_a_configurable_plugin (info->plugin)); - - plugin_manager_update_info (dialog, info); } } @@ -302,37 +352,6 @@ plugin_manager_toggle_active (GtkTreeIter *iter, GtkTreeModel *model) } - -static void -plugin_manager_update_info (GeditPluginManager *dialog, GeditPluginInfo *info) -{ - gchar *t; - gchar *filename; - gchar *author; - gchar *name; - - gedit_debug (DEBUG_PLUGINS, ""); - - /* maybe we should put the full path? It's pretty long.... */ - t = g_path_get_basename (info->plugin->file); - g_return_if_fail (t != NULL); - - filename = g_strdup_printf ("%s: %s", _("Module file name"), t); - author = g_strdup_printf ("%s: %s", _("Author(s)"), info->plugin->author); - name = g_strdup_printf ("%s plugin", info->plugin->name); - - gtk_label_set_markup (GTK_LABEL (dialog->desc), info->plugin->desc); - gtk_label_set_text (GTK_LABEL (dialog->author), author); - gtk_label_set_text (GTK_LABEL (dialog->filename), filename); - gtk_label_set_text (GTK_LABEL (dialog->copyright), info->plugin->copyright); - gtk_label_set_text (GTK_LABEL (dialog->name), name); - - g_free (t); - g_free (author); - g_free (filename); - g_free (name); -} - static GeditPluginInfo * plugin_manager_get_selected_plugin (GeditPluginManager *dialog) { @@ -495,18 +514,13 @@ gedit_plugin_manager_get_page (void) content = glade_xml_get_widget (gui, "plugin_manager_dialog_content"); pm->tree = glade_xml_get_widget (gui, "plugin_tree"); - pm->notebook = glade_xml_get_widget (gui, "plugin_notebook"); - pm->desc = glade_xml_get_widget (gui, "desc_label"); - pm->author = glade_xml_get_widget (gui, "author_label"); - pm->filename = glade_xml_get_widget (gui, "file_label"); - pm->name = glade_xml_get_widget (gui, "name_label"); - pm->copyright = glade_xml_get_widget (gui, "copyright_label"); + + pm->about_button = glade_xml_get_widget (gui, "about_button"); pm->configure_button = glade_xml_get_widget (gui, "configure_button"); viewport = glade_xml_get_widget (gui, "plugin_viewport"); - if (!(content && pm->tree && pm->notebook && pm->desc && - pm->author && pm->filename && pm->configure_button && - viewport && pm->name && pm->copyright)) { + if (!(content && pm->tree && pm->configure_button && + viewport && pm->about_button)) { g_warning (_("Invalid glade file for plugin manager -- not all widgets found.\n")); g_object_unref (gui); @@ -517,6 +531,10 @@ gedit_plugin_manager_get_page (void) /* setup a window of a sane size. */ gtk_widget_set_size_request (GTK_WIDGET (viewport), 270, 100); + /* connect something to the "about" button */ + g_signal_connect (G_OBJECT (pm->about_button), "clicked", + G_CALLBACK (about_button_cb), pm); + /* connect something to the "configure" button */ g_signal_connect (G_OBJECT (pm->configure_button), "clicked", G_CALLBACK (configure_button_cb), pm); diff --git a/gedit/dialogs/plugin-manager.glade2 b/gedit/dialogs/plugin-manager.glade2 index 1b67461e6..30cd2f1a5 100644 --- a/gedit/dialogs/plugin-manager.glade2 +++ b/gedit/dialogs/plugin-manager.glade2 @@ -1,367 +1,168 @@ <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> -<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd" > +<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> <glade-interface> - <widget class="GtkDialog" id="dialog1"> - <property name="title" translatable="yes">dialog1</property> - <property name="type">GTK_WINDOW_TOPLEVEL</property> - <property name="modal">no</property> - <property name="allow_shrink">no</property> - <property name="allow_grow">yes</property> - <property name="visible">no</property> - <property name="window-position">GTK_WIN_POS_NONE</property> +<requires lib="gnome"/> + +<widget class="GtkDialog" id="dialog1"> + <property name="title" translatable="yes">dialog1</property> + <property name="type">GTK_WINDOW_TOPLEVEL</property> + <property name="window_position">GTK_WIN_POS_NONE</property> + <property name="modal">False</property> + <property name="resizable">True</property> + <property name="destroy_with_parent">False</property> + <property name="has_separator">True</property> + + <child internal-child="vbox"> + <widget class="GtkVBox" id="dialog-vbox1"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">0</property> + + <child internal-child="action_area"> + <widget class="GtkHButtonBox" id="dialog-action_area1"> + <property name="visible">True</property> + <property name="layout_style">GTK_BUTTONBOX_END</property> + + <child> + <widget class="GtkButton" id="button1"> + <property name="visible">True</property> + <property name="can_default">True</property> + <property name="can_focus">True</property> + <property name="label" translatable="yes">button1</property> + <property name="use_underline">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="response_id">0</property> + </widget> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">GTK_PACK_END</property> + </packing> + </child> + + <child> + <widget class="GtkVBox" id="plugin_manager_dialog_content"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">6</property> + + <child> + <widget class="GtkScrolledWindow" id="plugin_viewport"> + <property name="visible">True</property> + <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> + <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> + <property name="shadow_type">GTK_SHADOW_IN</property> + <property name="window_placement">GTK_CORNER_TOP_LEFT</property> + + <child> + <widget class="GtkTreeView" id="plugin_tree"> + <property name="visible">True</property> + <property name="headers_visible">True</property> + <property name="rules_hint">False</property> + <property name="reorderable">False</property> + <property name="enable_search">True</property> + </widget> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkHBox" id="hbox3"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">0</property> + + <child> + <widget class="GtkButton" id="about_button"> + <property name="visible">True</property> + <property name="tooltip" translatable="yes">About selected plugin</property> + <property name="can_focus">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + <accessibility> + <atkproperty name="AtkObject::accessible_name" translatable="yes">About selected plugin</atkproperty> + </accessibility> + + <child> + <widget class="GtkImage" id="image1"> + <property name="visible">True</property> + <property name="stock">gnome-stock-about</property> + <property name="icon_size">4</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + </widget> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="label" translatable="yes"></property> + <property name="use_underline">False</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkButton" id="configure_button"> + <property name="visible">True</property> + <property name="tooltip" translatable="yes">Configure the selected plugin</property> + <property name="can_focus">True</property> + <property name="label" translatable="yes">C_onfigure Plugin</property> + <property name="use_underline">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">GTK_PACK_END</property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + </widget> + </child> +</widget> - <child internal-child="vbox"> - <widget class="GtkVBox" id="dialog-vbox1"> - <property name="homogeneous">no</property> - <property name="spacing">0</property> - <property name="visible">yes</property> - - <child internal-child="action_area"> - <widget class="GtkHButtonBox" id="dialog-action_area1"> - <property name="border_width">10</property> - <property name="homogeneous">yes</property> - <property name="spacing">5</property> - <property name="visible">yes</property> - - <child> - <widget class="Placeholder" id="None"> - <property name="visible">yes</property> - </widget> - </child> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">no</property> - <property name="fill">yes</property> - <property name="pack_type">GTK_PACK_END</property> - </packing> - </child> - - <child> - <widget class="GtkVBox" id="plugin_manager_dialog_content"> - <property name="homogeneous">no</property> - <property name="spacing">5</property> - <property name="visible">yes</property> - - <child> - <widget class="GtkScrolledWindow" id="plugin_viewport"> - <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> - <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> - <property name="shadow_type">GTK_SHADOW_IN</property> - <property name="visible">yes</property> - - <child> - <widget class="GtkTreeView" id="plugin_tree"> - <property name="visible">yes</property> - </widget> - </child> - - <child internal-child="hscrollbar"> - <widget class="GtkHScrollbar" id="pmconvertwidget1"> - <property name="update_policy">GTK_UPDATE_CONTINUOUS</property> - <property name="visible">yes</property> - </widget> - </child> - - <child internal-child="vscrollbar"> - <widget class="GtkVScrollbar" id="pmconvertwidget2"> - <property name="update_policy">GTK_UPDATE_CONTINUOUS</property> - <property name="visible">yes</property> - </widget> - </child> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">yes</property> - <property name="fill">yes</property> - </packing> - </child> - - <child> - <widget class="GtkHBox" id="hbox2"> - <property name="homogeneous">no</property> - <property name="spacing">0</property> - <property name="visible">yes</property> - - <child> - <widget class="GtkLayout" id="layout1"> - <property name="visible">yes</property> - <property name="hadjustment">0 0 100 0 10 10</property> - <property name="vadjustment">0 0 100 0 10 10</property> - <property name="width">400</property> - <property name="height">300</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">yes</property> - <property name="fill">yes</property> - </packing> - </child> - - <child> - <widget class="GtkButton" id="configure_button"> - <property name="tooltip" translatable="yes">Configure the selected plugin</property> - <property name="can_focus">yes</property> - <property name="label" translatable="yes">C_onfigure plugin</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="width-request">0</property> - <property name="height-request">0</property> - <property name="visible">yes</property> - <property name="use_underline">yes</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">no</property> - <property name="fill">yes</property> - </packing> - </child> - </widget> - <packing> - <property name="padding">5</property> - <property name="expand">no</property> - <property name="fill">no</property> - </packing> - </child> - - <child> - <widget class="GtkNotebook" id="plugin_notebook"> - <property name="can_focus">yes</property> - <property name="show_tabs">yes</property> - <property name="show_border">yes</property> - <property name="tab_pos">GTK_POS_BOTTOM</property> - <property name="scrollable">yes</property> - <property name="tab_hborder">2</property> - <property name="tab_vborder">2</property> - <property name="enable-popup">no</property> - <property name="visible">yes</property> - - <child> - <widget class="GtkScrolledWindow" id="sw1"> - <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> - <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> - <property name="shadow_type">GTK_SHADOW_NONE</property> - <property name="visible">yes</property> - <property name="border_width">5</property> - - <child> - <widget class="GtkViewport" id="vp112"> - <property name="shadow_type">GTK_SHADOW_NONE</property> - <property name="visible">yes</property> - - <child> - <widget class="GtkVBox" id="vbox112"> - <property name="homogeneous">no</property> - <property name="spacing">0</property> - <property name="visible">yes</property> - - <child> - <widget class="GtkLabel" id="desc_label"> - <property name="label" translatable="yes"></property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="use_markup">True</property> - <property name="wrap">yes</property> - <property name="xalign">0.0</property> - <property name="yalign">0.0</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="visible">yes</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">no</property> - <property name="fill">no</property> - </packing> - </child> - </widget> - </child> - </widget> - </child> - - <child internal-child="hscrollbar"> - <widget class="GtkHScrollbar" id="pmconvertwidget21"> - <property name="update_policy">GTK_UPDATE_CONTINUOUS</property> - <property name="visible">yes</property> - </widget> - </child> - - <child internal-child="vscrollbar"> - <widget class="GtkVScrollbar" id="pmconvertwidget22"> - <property name="update_policy">GTK_UPDATE_CONTINUOUS</property> - <property name="visible">yes</property> - </widget> - </child> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">yes</property> - <property name="fill">yes</property> - </packing> - </child> - - <child> - <widget class="GtkLabel" id="pmlabel2"> - <property name="label" translatable="yes">Description</property> - <property name="justify">GTK_JUSTIFY_CENTER</property> - <property name="wrap">no</property> - <property name="xalign">0.5</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="visible">yes</property> - <property name="use_underline">yes</property> - </widget> - <packing> - <property name="type">tab</property> - </packing> - </child> - - <child> - <widget class="GtkScrolledWindow" id="pmsw31"> - <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> - <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> - <property name="shadow_type">GTK_SHADOW_NONE</property> - <property name="visible">yes</property> - <property name="border_width">5</property> - - <child> - <widget class="GtkViewport" id="pmvp1132"> - <property name="shadow_type">GTK_SHADOW_NONE</property> - <property name="visible">yes</property> - - <child> - <widget class="GtkVBox" id="pmvbox2"> - <property name="homogeneous">no</property> - <property name="spacing">0</property> - <property name="visible">yes</property> - <child> - <widget class="GtkLabel" id="name_label"> - <property name="label" translatable="yes"></property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">yes</property> - <property name="xalign">0.0</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="visible">yes</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">no</property> - <property name="fill">no</property> - </packing> - </child> - - <child> - <widget class="GtkLabel" id="copyright_label"> - <property name="label" translatable="yes"></property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">yes</property> - <property name="xalign">0.0</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="visible">yes</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">no</property> - <property name="fill">no</property> - </packing> - </child> - - <child> - <widget class="GtkLabel" id="author_label"> - <property name="label" translatable="yes"></property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">yes</property> - <property name="xalign">0.0</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="visible">yes</property> - </widget> - <packing> - <property name="padding">10</property> - <property name="expand">no</property> - <property name="fill">no</property> - </packing> - </child> - - <child> - <widget class="GtkLabel" id="file_label"> - <property name="label" translatable="yes"></property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">no</property> - <property name="xalign">0.0</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="visible">yes</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">no</property> - <property name="fill">no</property> - </packing> - </child> - </widget> - </child> - </widget> - </child> - - <child internal-child="hscrollbar"> - <widget class="GtkHScrollbar" id="pmconvertwidget321"> - <property name="update_policy">GTK_UPDATE_CONTINUOUS</property> - <property name="visible">yes</property> - </widget> - </child> - - <child internal-child="vscrollbar"> - <widget class="GtkVScrollbar" id="pmconvertwidget322"> - <property name="update_policy">GTK_UPDATE_CONTINUOUS</property> - <property name="visible">yes</property> - </widget> - </child> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">yes</property> - <property name="fill">yes</property> - </packing> - </child> - - <child> - <widget class="GtkLabel" id="pmlabel3"> - <property name="label" translatable="yes">Details</property> - <property name="justify">GTK_JUSTIFY_CENTER</property> - <property name="wrap">no</property> - <property name="xalign">0.5</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="visible">yes</property> - <property name="use_underline">yes</property> - </widget> - <packing> - <property name="type">tab</property> - </packing> - </child> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">yes</property> - <property name="fill">yes</property> - </packing> - </child> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">yes</property> - <property name="fill">yes</property> - </packing> - </child> - </widget> - </child> - </widget> </glade-interface> |