[anjuta] Adapted to API changes in gdl and fixed rest of libglade usage
- From: Johannes Schmid <jhs src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjuta] Adapted to API changes in gdl and fixed rest of libglade usage
- Date: Sun, 24 May 2009 07:51:00 -0400 (EDT)
commit eb5d3cd800e0722714ccfbe09ec67f33d208549c
Author: Johannes Schmid <jhs gnome org>
Date: Sun May 24 13:50:14 2009 +0200
Adapted to API changes in gdl and fixed rest of libglade usage
---
configure.in | 6 +-
libanjuta/Makefile.am | 2 -
libanjuta/anjuta-preferences.c | 140 -------------------
libanjuta/anjuta-preferences.h | 12 --
plugins/patch/plugin.h | 2 -
src/Makefile.am | 4 +-
src/anjuta-app.c | 25 ++--
src/anjuta.glade | 302 ----------------------------------------
8 files changed, 18 insertions(+), 475 deletions(-)
diff --git a/configure.in b/configure.in
index 2ea5b30..d37b32d 100644
--- a/configure.in
+++ b/configure.in
@@ -27,14 +27,13 @@ GLIB_REQUIRED=2.16.0
GDK_PIXBUF_REQUIRED=2.0.0
GTK_REQUIRED=2.14.0
ORBIT_REQUIRED=2.6.0
-LIBGLADE_REQUIRED=2.3.0
GNOME_REQUIRED=2.12.0
GCONF_REQUIRED=2.12.0
VTE_REQUIRED=0.9.0
VTE_NEW_REQUIRED=0.13.1
LIBXML_REQUIRED=2.4.23
LIBDEVHELP_REQUIRED=0.22
-GDL_REQUIRED=2.24.0
+GDL_REQUIRED=2.27.1
GLADEUI_REQUIRED=3.6.0
NEON_REQUIRED=0.28.2
SVN_MAJOR=1
@@ -50,7 +49,6 @@ AC_SUBST(GLIB_REQUIRED)
AC_SUBST(GDK_PIXBUF_REQUIRED)
AC_SUBST(GTK_REQUIRED)
AC_SUBST(ORBIT_REQUIRED)
-AC_SUBST(LIBGLADE_REQUIRED)
AC_SUBST(GNOME_REQUIRED)
AC_SUBST(VTE_REQUIRED)
AC_SUBST(LIBXML_REQUIRED)
@@ -139,8 +137,6 @@ PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED)
PKG_CHECK_MODULES(ORBIT, ORBit-2.0 >= $ORBIT_REQUIRED)
-PKG_CHECK_MODULES(GLADE_DEPRECATED, libglade-2.0 >= $LIBGLADE_REQUIRED)
-
PKG_CHECK_MODULES(GNOME, libgnome-2.0 >= $GNOME_REQUIRED libgnomeui-2.0 >= $GNOME_REQUIRED)
PKG_CHECK_MODULES(GCONF, gconf-2.0 >= $GCONF_REQUIRED)
diff --git a/libanjuta/Makefile.am b/libanjuta/Makefile.am
index 97f7da6..d002987 100644
--- a/libanjuta/Makefile.am
+++ b/libanjuta/Makefile.am
@@ -63,8 +63,6 @@ libanjuta_la_SOURCES= \
anjuta-vcs-status.h \
anjuta-vcs-status-tree-view.c \
anjuta-vcs-status-tree-view.h \
- anjuta-widgets.c \
- anjuta-widgets.h \
anjuta-command.c \
anjuta-command.h \
anjuta-async-command.c \
diff --git a/libanjuta/anjuta-preferences.c b/libanjuta/anjuta-preferences.c
index 29870b4..911bb3a 100644
--- a/libanjuta/anjuta-preferences.c
+++ b/libanjuta/anjuta-preferences.c
@@ -66,7 +66,6 @@
#include <string.h>
#include <stdlib.h>
-#include <glade/glade-parser.h>
#include <gconf/gconf-client.h>
#include <libanjuta/anjuta-preferences.h>
@@ -1453,66 +1452,6 @@ anjuta_preferences_register_property_from_string (AnjutaPreferences *pr,
}
/**
- * anjuta_preferences_register_all_properties_from_glade_xml:
- * @pr: a #AnjutaPreferences Object
- * @gxml: GladeXML object containing the properties widgets.
- * @parent: Parent widget in the gxml object
- *
- * This will register all the properties names of the format described above
- * without considering the UI. Useful if you have the widgets shown elsewhere
- * but you want them to be part of preferences system.
- */
-void
-anjuta_preferences_register_all_properties_from_glade_xml (AnjutaPreferences *pr,
- GladeXML *gxml,
- GtkWidget *parent)
-{
- GList *widgets;
- GList *node;
-
- g_return_if_fail (ANJUTA_IS_PREFERENCES (pr));
- g_return_if_fail (gxml != NULL);
-
- widgets = glade_xml_get_widget_prefix (gxml, "preferences_");
- node = widgets;
- while (node)
- {
- const gchar *name;
- GtkWidget *widget, *p;
- gboolean cont_flag = FALSE;
-
- widget = node->data;
-
- p = gtk_widget_get_parent (widget);
- /* Added only if it's a desendend child of the parent */
- while (p != parent)
- {
- if (p == NULL)
- {
- cont_flag = TRUE;
- break;
- }
- p = gtk_widget_get_parent (p);
- }
- if (cont_flag == TRUE)
- {
- node = g_list_next (node);
- continue;
- }
-
- name = glade_get_widget_name (widget);
- if (strncmp (name, PREFERENCE_PROPERTY_PREFIX,
- strlen (PREFERENCE_PROPERTY_PREFIX)) == 0)
- {
- const gchar *property = &name[strlen (PREFERENCE_PROPERTY_PREFIX)];
- anjuta_preferences_register_property_from_string (pr, widget,
- property);
- }
- node = g_list_next (node);
- }
-}
-
-/**
* anjuta_preferences_register_all_properties_from_builder_xml:
* @pr: a #AnjutaPreferences Object
* @builder: GtkBuilder object containing the properties widgets.
@@ -1631,85 +1570,6 @@ anjuta_preferences_foreach (AnjutaPreferences *pr,
/**
* anjuta_preferences_add_page:
* @pr: a #AnjutaPreferences object
- * @gxml: #GladeXML object containing the preferences page
- * @glade_widget_name: Page widget name (as give with glade interface editor).
- * The widget will be searched with the given name and detached
- * (that is, removed from the container, if present) from it's parent.
- * @icon_filename: File name (of the form filename.png) of the icon representing
- * the preference page.
- *
- * Add a page to the preferences sytem.
- * gxml is the GladeXML object of the glade dialog containing the page widget.
- * The glade dialog will contain the layout of the preferences widgets.
- * The widgets which are preference widgets (e.g. toggle button) should have
- * widget names of the form:
- *
- * <programlisting>
- * preferences_OBJECTTYPE:DATATYPE:DEFAULT:FLAGS:PROPERTYKEY
- * where,
- * OBJECTTYPE is 'toggle', 'spin', 'entry', 'text', 'color', 'font' or 'file' .
- * DATATYPE is 'bool', 'int', 'float', 'text', 'color' or 'font'.
- * DEFAULT is the default value (in the appropriate format). The format
- * for color is '#XXXXXX' representing RGB value and for
- * font, it is the pango font description.
- * FLAGS is any flag associated with the property. Currently it
- * has only two values -- 0 and 1. For normal preference
- * property which is saved/retrieved globally, the flag = 0.
- * For preference property which is also saved/retrieved
- * along with the project, the flag = 1.
- * PROPERTYKEY is the property key. e.g - 'tab.size'.
- * </programlisting>
- *
- * All widgets having the above names in the gxml tree will be registered
- * and will become part of auto saving/loading. For example, refer to
- * anjuta preferences dialogs and study the widget names.
- */
-void
-anjuta_preferences_add_page (AnjutaPreferences* pr, GladeXML *gxml,
- const gchar* glade_widget_name,
- const gchar* title,
- const gchar *icon_filename)
-{
- GtkWidget *parent;
- GtkWidget *page;
- GdkPixbuf *pixbuf;
- gchar *image_path;
-
- g_return_if_fail (ANJUTA_IS_PREFERENCES (pr));
- g_return_if_fail (glade_widget_name != NULL);
- g_return_if_fail (icon_filename != NULL);
-
- page = glade_xml_get_widget (gxml, glade_widget_name);
- g_object_ref (page);
- g_return_if_fail (GTK_IS_WIDGET (page));
- parent = gtk_widget_get_parent (page);
- if (parent && GTK_IS_CONTAINER (parent))
- {
- if (GTK_IS_NOTEBOOK (parent))
- {
- gint page_num;
-
- page_num = gtk_notebook_page_num (GTK_NOTEBOOK (parent), page);
- gtk_notebook_remove_page (GTK_NOTEBOOK (parent), page_num);
- }
- else
- {
- gtk_container_remove (GTK_CONTAINER (parent), page);
- }
- }
- image_path = anjuta_res_get_pixmap_file (icon_filename);
- pixbuf = gdk_pixbuf_new_from_file (image_path, NULL);
- anjuta_preferences_dialog_add_page (ANJUTA_PREFERENCES_DIALOG (pr->priv->prefs_dialog),
- glade_widget_name, title, pixbuf, page);
- anjuta_preferences_register_all_properties_from_glade_xml (pr, gxml, page);
- g_object_unref (page);
- g_free (image_path);
- g_object_unref (pixbuf);
-}
-
-/**
- * anjuta_preferences_add_page:
- * @pr: a #AnjutaPreferences object
* @builder: #GtkBuilder object containing the preferences page
* @gwidget_name: Page widget name (as give with glade interface editor).
* The widget will be searched with the given name and detached
diff --git a/libanjuta/anjuta-preferences.h b/libanjuta/anjuta-preferences.h
index a522380..5c5199d 100644
--- a/libanjuta/anjuta-preferences.h
+++ b/libanjuta/anjuta-preferences.h
@@ -23,7 +23,6 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
-#include <glade/glade.h>
#include <libanjuta/anjuta-preferences-dialog.h>
#include <libanjuta/anjuta-plugin-manager.h>
@@ -90,10 +89,6 @@ GType anjuta_preferences_get_type (void);
AnjutaPreferences *anjuta_preferences_new (AnjutaPluginManager *plugin_manager);
AnjutaPreferences *anjuta_preferences_default (void);
-void anjuta_preferences_add_page (AnjutaPreferences* pr, GladeXML *gxml,
- const gchar* glade_widget_name,
- const gchar* title,
- const gchar *icon_filename);
void anjuta_preferences_add_from_builder (AnjutaPreferences* pr,GtkBuilder *builder,
const gchar* glade_widget_name,
const gchar* title,
@@ -104,13 +99,6 @@ void anjuta_preferences_remove_page (AnjutaPreferences *pr,
/*
* Registers all properties defined for widgets below the 'parent' widget
- * in the given gxml glade UI tree
- */
-void anjuta_preferences_register_all_properties_from_glade_xml (AnjutaPreferences* pr,
- GladeXML *gxml,
- GtkWidget *parent);
-/*
- * Registers all properties defined for widgets below the 'parent' widget
* in the given gtkbuilder UI tree
*/
void anjuta_preferences_register_all_properties_from_builder_xml (AnjutaPreferences* pr,
diff --git a/plugins/patch/plugin.h b/plugins/patch/plugin.h
index 88daec1..3f9c8d9 100644
--- a/plugins/patch/plugin.h
+++ b/plugins/patch/plugin.h
@@ -49,8 +49,6 @@ struct _PatchPlugin {
GtkWidget* patch_button;
GtkWidget* cancel_button;
GtkWidget* dry_run_check;
- GladeXML* gxml;
-
gboolean executing;
gint uiid;
diff --git a/src/Makefile.am b/src/Makefile.am
index 3e08e8b..ffdddaa 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
## Process this file with automake to produce Makefile.in
anjuta_gladedir = $(anjuta_glade_dir)
-anjuta_glade_DATA = anjuta.glade
+anjuta_glade_DATA = preferences.ui
anjuta_uidir = $(anjuta_ui_dir)
anjuta_ui_DATA = anjuta.ui
@@ -49,7 +49,7 @@ anjuta_LDADD = \
anjuta_LDFLAGS = $(ANJUTA_LDFLAGS)
-prefs_glade_files = anjuta.glade
+prefs_ui_files = preferences.ui
include $(top_srcdir)/scripts/build-schemas.mk
noinst_PROGRAMS = anjuta-shell
diff --git a/src/anjuta-app.c b/src/anjuta-app.c
index 3f53210..c6ae648 100644
--- a/src/anjuta-app.c
+++ b/src/anjuta-app.c
@@ -27,12 +27,9 @@
#include <ctype.h>
#include <sys/wait.h>
-#include <glade/glade-xml.h>
#include <gtk/gtk.h>
-#include <gdl/gdl-dock.h>
-#include <gdl/gdl-dock-bar.h>
-#include <gdl/gdl-switcher.h>
+#include <gdl/gdl.h>
#include <libanjuta/anjuta-shell.h>
#include <libanjuta/anjuta-ui.h>
@@ -46,7 +43,7 @@
#include "about.h"
#define UI_FILE PACKAGE_DATA_DIR"/ui/anjuta.ui"
-#define GLADE_FILE PACKAGE_DATA_DIR"/glade/anjuta.glade"
+#define GLADE_FILE PACKAGE_DATA_DIR"/glade/preferences.ui"
#define ICON_FILE "anjuta-preferences-general-48.png"
static void anjuta_app_layout_load (AnjutaApp *app,
@@ -643,14 +640,22 @@ anjuta_app_layout_reset (AnjutaApp *app)
void
anjuta_app_install_preferences (AnjutaApp *app)
{
- GladeXML *gxml;
+ GtkBuilder* builder = gtk_builder_new ();
+ GError* error = NULL;
GtkWidget *notebook, *shortcuts, *plugins, *remember_plugins;
/* Create preferences page */
- gxml = glade_xml_new (GLADE_FILE, "anjuta_preferences_window", NULL);
- anjuta_preferences_add_page (app->preferences, gxml,
+ gtk_builder_add_from_file (builder, GLADE_FILE, &error);
+ if (error)
+ {
+ g_warning("Could not load general preferences: %s",
+ error->message);
+ g_error_free (error);
+ return;
+ }
+ anjuta_preferences_add_from_builder (app->preferences, builder,
"General", _("General"), ICON_FILE);
- notebook = glade_xml_get_widget (gxml, "General");
+ notebook = GTK_WIDGET (gtk_builder_get_object (builder, "General"));
shortcuts = anjuta_ui_get_accel_editor (ANJUTA_UI (app->ui));
plugins = anjuta_plugin_manager_get_plugins_page (app->plugin_manager);
remember_plugins = anjuta_plugin_manager_get_remembered_plugins_page (app->plugin_manager);
@@ -666,7 +671,7 @@ anjuta_app_install_preferences (AnjutaApp *app)
gtk_notebook_append_page (GTK_NOTEBOOK (notebook), shortcuts,
gtk_label_new (_("Shortcuts")));
- g_object_unref (gxml);
+ g_object_unref (builder);
}
/* AnjutaShell Implementation */
diff --git a/src/anjuta.glade b/src/anjuta.glade
deleted file mode 100644
index bba0bb6..0000000
--- a/src/anjuta.glade
+++ /dev/null
@@ -1,302 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
-<!--*- mode: xml -*-->
-<glade-interface>
- <widget class="GtkWindow" id="anjuta_preferences_window">
- <child>
- <widget class="GtkNotebook" id="General">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <child>
- <widget class="GtkVBox" id="general_page">
- <property name="visible">True</property>
- <child>
- <widget class="GtkFrame" id="frame1">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="border_width">10</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
- <child>
- <widget class="GtkAlignment" id="alignment2">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="left_padding">12</property>
- <child>
- <widget class="GtkTable" id="table1">
- <property name="visible">True</property>
- <property name="border_width">10</property>
- <property name="n_rows">3</property>
- <property name="n_columns">2</property>
- <property name="column_spacing">5</property>
- <property name="row_spacing">5</property>
- <child>
- <widget class="GtkLabel" id="label2">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Default project directory:</property>
- </widget>
- <packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label3">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Developer name:</property>
- </widget>
- <packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label4">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Developer email address:</property>
- </widget>
- <packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkEntry" id="preferences_entry:text::0:anjuta.user.email">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkEntry" id="preferences_entry:text::0:anjuta.user.name">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkFileChooserButton" id="preferences_folder:text:~:0:anjuta.project.directory">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="action">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</property>
- <property name="title" translatable="yes">Select projects directory</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="y_options"></property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="GtkLabel" id="label1">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label" translatable="yes"><b>Project Defaults</b></property>
- <property name="use_markup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- </child>
- <child>
- <widget class="GtkFrame" id="Session">
- <property name="visible">True</property>
- <property name="border_width">10</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
- <child>
- <widget class="GtkAlignment" id="alignment1">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <widget class="GtkVBox" id="vbox2">
- <property name="visible">True</property>
- <property name="border_width">10</property>
- <property name="spacing">5</property>
- <child>
- <widget class="GtkCheckButton" id="preferences_toggle:bool:0:0:anjuta.session.skip.last">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">Do not load last session on startup</property>
- <property name="use_underline">True</property>
- <property name="response_id">0</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="GtkCheckButton" id="preferences_toggle:bool:0:0:anjuta.session.skip.last.files">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">Do not load last project and files on startup</property>
- <property name="use_underline">True</property>
- <property name="response_id">0</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="GtkLabel" id="label5">
- <property name="visible">True</property>
- <property name="label" translatable="yes"><b>Session</b></property>
- <property name="use_markup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkFrame" id="Appearance">
- <property name="visible">True</property>
- <property name="border_width">10</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
- <child>
- <widget class="GtkAlignment" id="alignment3">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <widget class="GtkTable" id="table2">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="border_width">10</property>
- <property name="n_rows">2</property>
- <property name="n_columns">2</property>
- <property name="column_spacing">5</property>
- <property name="row_spacing">5</property>
- <child>
- <widget class="GtkComboBox" id="preferences_combo:text:Text,Icon,Both,Toolbar,Tabs:2:anjuta.gdl.style">
- <property name="visible">True</property>
- <property name="items" translatable="yes">Text
-Icons
-Text + Icons
-Gnome toolbar setting
-Tabs</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkComboBox" id="preferences_combo:text:Default,Both,Horiz,Icons,Text:0:anjuta.toolbar.style">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="items" translatable="yes">Default
-Text below icons
-Text beside icons
-Icons only
-Text only</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label6">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes" comments="translators: translate the same as in gnome-control-center">Toolbar button labels:</property>
- </widget>
- <packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label8">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes" comments="Style of the buttons/tabs used to select docked windows in anjuta">Dock switcher style:</property>
- </widget>
- <packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="GtkLabel" id="label7">
- <property name="visible">True</property>
- <property name="label" translatable="yes"><b>Appearance</b></property>
- <property name="use_markup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- </child>
- <child>
- <widget class="GtkLabel" id="label5">
- <property name="visible">True</property>
- <property name="label" translatable="yes">General</property>
- </widget>
- <packing>
- <property name="type">tab</property>
- <property name="tab_fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
-</glade-interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]