* TODO: Updated.

	* doc/gladeui-sections.txt: Updated

	* doc/Makefile.am: Ignoring some headers.

	* configure.in: Package name is now glade3-2.91.3 and not glade-3-2.91.3,
	  this conforms with gnome server scripts and matches the cvs name and
	  bugzilla name.
This commit is contained in:
Tristan Van Berkom 2006-06-24 19:32:21 +00:00
parent 787b428bd4
commit 155705b2e5
14 changed files with 159 additions and 30 deletions

View File

@ -7,8 +7,19 @@
* src/main.c: Pass FALSE to gtk_get_option_group() and call gtk_init (NULL, NULL)
later on; this way we pass --version without any display (fixes 339265)
* src/glade-widget.[ch], src/glade-property.c: removed glade_widget_is_dupping(),
use glade_property_[push/pop]_superuser() for that purpose.
* TODO: Updated.
* doc/gladeui-sections.txt: Updated
* doc/Makefile.am: Ignoring some headers.
* configure.in: Package name is now glade3-2.91.3 and not glade-3-2.91.3,
this conforms with gnome server scripts and matches the cvs name and
bugzilla name.
2006-06-23 Vincent Geddes <vgeddes@metroweb.co.za>
* src/main.c:

1
TODO
View File

@ -10,4 +10,3 @@ Tasks/Bugs Blocking glade-3 3.0:
o Implement "finish" signal on GladeProject (bug 345353)
o Default notebook tab labels (bug 345438)
o Sticky palette items feature (bug 303679)
o Change generated tarball name (bug 345470)

View File

@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
AC_INIT(glade-3, 2.91.3,
AC_INIT(glade3, 2.91.3,
http://bugzilla.gnome.org/enter_bug.cgi?product=glade3)
AC_CANONICAL_SYSTEM

View File

@ -62,7 +62,10 @@ IGNORE_HFILES=\
glade-xml-utils.h \
glade-popup.h \
glade-devhelp.h \
glade-gtk.h
glade-gtk.h \
glade-palette-expander.h \
glade-palette-item.h \
glade-palette-box.h
# Images to copy into HTML directory.
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png

View File

@ -9,8 +9,6 @@ glade_app_update_ui
glade_app_set_window
glade_app_get_window
glade_app_get_editor
glade_app_get_add_class
glade_app_get_alt_class
glade_app_get_palette
glade_app_get_clipboard
glade_app_get_clipboard_view
@ -185,6 +183,10 @@ GladeEditorTable
<FILE>glade-fixed</FILE>
<TITLE>GladeFixed</TITLE>
GladeFixed
GLADE_FIXED_CURSOR_BOTTOM
GLADE_FIXED_CURSOR_RIGHT
GLADE_FIXED_CURSOR_TOP
GLADE_FIXED_CURSOR_LEFT
<SUBSECTION Standard>
glade_fixed_get_type
GLADE_TYPE_FIXED
@ -201,7 +203,12 @@ GladeFixedClass
<TITLE>GladePalette</TITLE>
GladePalette
glade_palette_new
glade_palette_unselect_widget
glade_palette_get_item_appearance
glade_palette_set_item_appearance
glade_palette_get_current_item_class
glade_palette_deselect_current_item
glade_palette_get_use_small_item_icons
glade_palette_set_use_small_item_icons
<SUBSECTION Standard>
GLADE_PALETTE
GLADE_IS_PALETTE
@ -211,6 +218,8 @@ GLADE_PALETTE_CLASS
GLADE_IS_PALETTE_CLASS
GLADE_PALETTE_GET_CLASS
GladePaletteClass
<SUBSECTION Private>
GladePalettePrivate
</SECTION>
<SECTION>
@ -352,6 +361,9 @@ glade_property_sync
glade_property_load
glade_property_read
glade_property_write
glade_property_superuser
glade_property_push_superuser
glade_property_pop_superuser
glade_property_get_tooltip
glade_property_set_sensitive
glade_property_get_sensitive
@ -499,7 +511,7 @@ glade_widget_has_launcher
glade_widget_launch_editor
glade_widget_get_parent
glade_widget_set_parent
glade_widget_is_dupping
glade_widget_event_widget
<SUBSECTION Standard>
GLADE_WIDGET
GLADE_IS_WIDGET
@ -588,6 +600,7 @@ glade_util_load_library
glade_util_class_implements_interface
glade_util_have_devhelp
glade_util_search_devhelp
glade_util_deep_fixed_event
</SECTION>

View File

@ -93,3 +93,35 @@ for the values passed to configure-child via the #GdkRectangle.
</para>
<!-- ##### MACRO GLADE_FIXED_CURSOR_BOTTOM ##### -->
<para>
</para>
@type:
<!-- ##### MACRO GLADE_FIXED_CURSOR_RIGHT ##### -->
<para>
</para>
@type:
<!-- ##### MACRO GLADE_FIXED_CURSOR_TOP ##### -->
<para>
</para>
@type:
<!-- ##### MACRO GLADE_FIXED_CURSOR_LEFT ##### -->
<para>
</para>
@type:

View File

@ -53,7 +53,62 @@ to the Glade core.
</para>
@catalogs:
@item_appearance:
@Returns:
<!-- # Unused Parameters # -->
@appearance:
<!-- ##### FUNCTION glade_palette_get_item_appearance ##### -->
<para>
</para>
@palette:
@Returns:
<!-- ##### FUNCTION glade_palette_set_item_appearance ##### -->
<para>
</para>
@palette:
@appearance:
<!-- ##### FUNCTION glade_palette_get_current_item_class ##### -->
<para>
</para>
@palette:
@Returns:
<!-- ##### FUNCTION glade_palette_deselect_current_item ##### -->
<para>
</para>
@palette:
<!-- ##### FUNCTION glade_palette_get_use_small_item_icons ##### -->
<para>
</para>
@palette:
@Returns:
<!-- ##### FUNCTION glade_palette_set_use_small_item_icons ##### -->
<para>
</para>
@palette:
@use_small_item_icons:

View File

@ -250,6 +250,28 @@ the #GladePropertyClass describes how a #GladeProperty will function.
@Returns:
<!-- ##### FUNCTION glade_property_superuser ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION glade_property_push_superuser ##### -->
<para>
</para>
<!-- ##### FUNCTION glade_property_pop_superuser ##### -->
<para>
</para>
<!-- ##### FUNCTION glade_property_get_tooltip ##### -->
<para>

View File

@ -392,3 +392,14 @@ This is where all of that really usefull miscalanious stuff lands up.
@devhelp:
<!-- ##### FUNCTION glade_util_deep_fixed_event ##### -->
<para>
</para>
@widget:
@event:
@gwidget:
@Returns:

View File

@ -564,7 +564,7 @@ convenience api for getting and setting properties (mostly from the plugin).
@parent:
<!-- ##### FUNCTION glade_widget_is_dupping ##### -->
<!-- ##### FUNCTION glade_widget_event_widget ##### -->
<para>
</para>

View File

@ -64,7 +64,8 @@ LIBGLADEUI_API
GType glade_palette_get_type (void) G_GNUC_CONST;
LIBGLADEUI_API
GtkWidget *glade_palette_new (const GList *catalogs, GladeItemAppearance appearance);
GtkWidget *glade_palette_new (const GList *catalogs,
GladeItemAppearance item_appearance);
LIBGLADEUI_API
void glade_palette_deselect_current_item (GladePalette *palette);

View File

@ -225,7 +225,6 @@ glade_property_set_value_impl (GladeProperty *property, const GValue *value)
if (glade_property_superuser () == FALSE &&
property->widget &&
property->class->verify_function &&
glade_widget_is_dupping() == FALSE &&
project && glade_project_is_loading (project) == FALSE)
{
GObject *object = glade_widget_get_object (property->widget);
@ -1592,7 +1591,7 @@ glade_property_get_enabled (GladeProperty *property)
}
glade_property_su_stack = 0;
static gint glade_property_su_stack = 0;
void
glade_property_push_superuser (void)

View File

@ -93,7 +93,6 @@ static GObjectClass *parent_class = NULL;
* this is just a shortcut way to get the project.
*/
static GladeProject *loading_project = NULL;
static gboolean glade_widget_dupping = FALSE;
static GQuark glade_widget_name_quark = 0;
/* An optimization to avoid looking up the deepest
@ -2237,9 +2236,9 @@ glade_widget_dup (GladeWidget *template)
g_return_val_if_fail (GLADE_IS_WIDGET (template), NULL);
glade_widget_dupping = TRUE;
glade_property_push_superuser ();
widget = glade_widget_dup_internal (NULL, template);
glade_widget_dupping = FALSE;
glade_property_pop_superuser ();
return widget;
}
@ -3461,17 +3460,3 @@ glade_widget_launch_editor (GladeWidget *widget)
}
} while ((parent = parent->parent) != NULL);
}
/**
* glade_widget_is_dupping:
*
* This is used internally by #GladeProperty to avoid calling
* backend "verify-function"s at dup time.
*
* Returns: whether we are currently duplicating a widget or not
*/
gboolean
glade_widget_is_dupping (void)
{
return glade_widget_dupping;
}

View File

@ -141,8 +141,6 @@ void glade_widget_rebuild (GladeWidget *g
LIBGLADEUI_API
GladeWidget *glade_widget_dup (GladeWidget *template);
LIBGLADEUI_API
gboolean glade_widget_is_dupping (void);
LIBGLADEUI_API
void glade_widget_copy_properties (GladeWidget *widget,
GladeWidget *template);
LIBGLADEUI_API