Commit 40c61650 authored by Johannes Schmid's avatar Johannes Schmid Committed by Johannes Schmid

po/LINGUAS configure.in Applied http://live.gnome.org/GnomeGoals/PoLinguas

2007-01-18  Johannes Schmid <jhs@gnome.org>

	* po/LINGUAS
	* configure.in
	* autogen.sh:
	Applied http://live.gnome.org/GnomeGoals/PoLinguas
	Bumped version to 0.7.1
	
	* NEWS:
	Updated for release

svn path=/trunk/; revision=336
parent a447a4bd
2007-01-18 Johannes Schmid <jhs@gnome.org>
* po/LINGUAS
* configure.in
* autogen.sh:
Applied http://live.gnome.org/GnomeGoals/PoLinguas
Bumped version to 0.7.1
* NEWS:
Updated for release
2007-01-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Reviewed by Johannes Schmid <jhs@gnome.org>:
* gdl/README.gdl-dock
* gdl/gdl-combo-button.c
* gdl/gdl-data-view.c
* gdl/gdl-dock-bar.c
* gdl/gdl-dock-item-grip.c
* gdl/gdl-dock-item.c
* gdl/gdl-dock-layout.c
* gdl/gdl-dock-master.c
* gdl/gdl-dock-notebook.c
* gdl/gdl-dock-object.c
* gdl/gdl-dock-paned.c
* gdl/gdl-dock-placeholder.c
* gdl/gdl-dock-tablabel.c
* gdl/gdl-dock.c
Bug 381845 – Grip doesn't change the title when long_name is changed
2007-01-17 Johannes Schmid <jhs@gnome.org>
* gdl/gdl-dock-bar.c
* gdl/test-dock.c:
Added gdl_dock_bar_set/get_style (fix #397562)
* gdl/gdl-dock-bar.c
* gdl/test-dock.c:
Added gdl_dock_bar_set/get_style (fix #397562)
2007-01-16 Pema Geyleg <pema.geyleg@gmail.com>
......
Changes in 0.7.1
* Use canonical property names (#381845)
* fix undefined symbol in python bindings (#397562)
* New translation: dz (Pema Geyleg <pema.geyleg@gmail.com>)
This release is meant a bug-fix release for proper python-binding
Changes in 0.7.0
* Added support to build without GNOME
......
......@@ -30,7 +30,7 @@ fi
DIE=1
}
(grep "^AC_PROG_INTLTOOL" $srcdir/configure.in >/dev/null) && {
(grep "^IT_PROG_INTLTOOL" $srcdir/configure.in >/dev/null) && {
(intltoolize --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`intltool' installed."
......@@ -117,7 +117,7 @@ do
echo "Making $dr/aclocal.m4 writable ..."
test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
fi
if grep "^AC_PROG_INTLTOOL" configure.in >/dev/null; then
if grep "^IT_PROG_INTLTOOL" configure.in >/dev/null; then
echo "Running intltoolize..."
intltoolize --copy --force --automake
fi
......
......@@ -11,7 +11,7 @@ AM_CONFIG_HEADER(config.h)
GDL_MAJOR_VERSION=0
GDL_MINOR_VERSION=7
GDL_MICRO_VERSION=0
GDL_MICRO_VERSION=1
PACKAGE=gdl
GDL_VERSION=$GDL_MAJOR_VERSION.$GDL_MINOR_VERSION.$GDL_MICRO_VERSION
......@@ -23,8 +23,6 @@ dnl gnome-autogen.sh sets ACLOCAL_FLAGS, which points to the cvs gnome
dnl autoconf macros
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
AC_PROG_INTLTOOL
AC_SUBST(GDL_MAJOR_VERSION)
AC_SUBST(GDL_MINOR_VERSION)
AC_SUBST(GDL_MICRO_VERSION)
......@@ -139,10 +137,11 @@ AC_SUBST(GLIB_GENMARSHAL)
GLIB_MKENUMS="`$PKG_CONFIG --variable=glib_mkenums glib-2.0`"
AC_SUBST(GLIB_MKENUMS)
ALL_LINGUAS="am az ca cs da de dz el en_CA en_GB es fi fr ga hr hu it ja mk ml nb ne nl pa pl pt pt_BR ru rw sk sq sr sr@Latn sv vi zh_CN"
ALL_LINGUAS=""
GETTEXT_PACKAGE=gdl-1
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext])
IT_PROG_INTLTOOL([0.35.0])
AM_GLIB_GNU_GETTEXT
AM_GLIB_DEFINE_LOCALEDIR(GNOMELOCALEDIR)
......
......@@ -47,7 +47,7 @@ A DockObject has:
- a name. If the object is manual the name can be used to recall the
object from any other object in the ring ("name" property).
- a long, descriptive name ("long_name" property).
- a long, descriptive name ("long-name" property).
A DockObject can be:
......@@ -139,7 +139,7 @@ GdlDock
"floating" (gboolean, construct-only): whether the dock is floating in
its own window or not.
"default_title" (gchar, read-write): title for new floating docks.
"default-title" (gchar, read-write): title for new floating docks.
This property is proxied to the master, which truly holds it.
The title for the floating docks is: the user supplied title
......@@ -149,7 +149,7 @@ The title for the floating docks is: the user supplied title
- Signals:
"layout_changed": emitted when the user changed the layout of the
"layout-changed": emitted when the user changed the layout of the
dock somehow.
......
......@@ -50,7 +50,7 @@ default_button_clicked_cb (GtkButton *button,
if (!priv->menu_popped_up)
g_signal_emit_by_name (G_OBJECT (combo),
"activate_default", NULL);
"activate-default", NULL);
}
static gboolean
......@@ -245,7 +245,7 @@ gdl_combo_button_class_init (GdlComboButtonClass *klass)
object_class->destroy = gdl_combo_button_destroy;
g_signal_new ("activate_default",
g_signal_new ("activate-default",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GdlComboButtonClass, activate_default),
......
......@@ -414,7 +414,7 @@ gdl_data_view_class_init (GdlDataViewClass *klass)
object_class->destroy = gdl_data_view_destroy;
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("expander_size",
g_param_spec_int ("expander-size",
_("Expander Size"),
_("Size of the expander arrow."),
0,
......
......@@ -282,7 +282,7 @@ gdl_dock_bar_add_item (GdlDockBar *dockbar,
else
box = gtk_vbox_new (FALSE, 0);
g_object_get (item, "stock_id", &stock_id, "long_name", &name, NULL);
g_object_get (item, "stock-id", &stock_id, "long-name", &name, NULL);
if (dockbar->_priv->dockbar_style == GDL_DOCK_BAR_TEXT ||
dockbar->_priv->dockbar_style == GDL_DOCK_BAR_BOTH) {
......@@ -395,7 +395,7 @@ gdl_dock_bar_attach (GdlDockBar *dockbar,
dockbar->_priv->master = master;
if (dockbar->_priv->master) {
g_object_ref (dockbar->_priv->master);
g_signal_connect (dockbar->_priv->master, "layout_changed",
g_signal_connect (dockbar->_priv->master, "layout-changed",
G_CALLBACK (gdl_dock_bar_layout_changed_cb),
dockbar);
}
......
......@@ -85,14 +85,14 @@ ensure_title_and_icon_pixbuf (GdlDockItemGrip *grip)
/* get long name property from the dock object */
if (!grip->_priv->title) {
g_object_get (G_OBJECT (grip->item), "long_name", &grip->_priv->title, NULL);
g_object_get (G_OBJECT (grip->item), "long-name", &grip->_priv->title, NULL);
if (!grip->_priv->title)
grip->_priv->title = g_strdup ("");
}
/* retrieve stock pixbuf, if any */
if (!grip->_priv->icon_pixbuf_valid) {
g_object_get (G_OBJECT (grip->item), "stock_id", &stock_id, NULL);
g_object_get (G_OBJECT (grip->item), "stock-id", &stock_id, NULL);
if (stock_id) {
grip->_priv->icon_pixbuf = gtk_widget_render_icon (GTK_WIDGET (grip),
......@@ -185,7 +185,7 @@ gdl_dock_item_grip_item_notify (GObject *master,
grip = GDL_DOCK_ITEM_GRIP (data);
if (strcmp (pspec->name, "stock_id") == 0) {
if (strcmp (pspec->name, "stock-id") == 0) {
if (grip->_priv->icon_pixbuf) {
g_object_unref (grip->_priv->icon_pixbuf);
grip->_priv->icon_pixbuf = NULL;
......@@ -193,11 +193,13 @@ gdl_dock_item_grip_item_notify (GObject *master,
grip->_priv->icon_pixbuf_valid = FALSE;
ensure_title_and_icon_pixbuf (grip);
} else if (strcmp (pspec->name, "long_name") == 0) {
} else if (strcmp (pspec->name, "long-name") == 0) {
g_free (grip->_priv->title);
g_object_unref (grip->_priv->title_layout);
grip->_priv->title_layout = NULL;
grip->_priv->title = NULL;
ensure_title_and_icon_pixbuf (grip);
gtk_widget_queue_draw (GTK_WIDGET (grip));
} else if (strcmp (pspec->name, "behavior") == 0) {
cursor = FALSE;
if (grip->_priv->close_button) {
......
......@@ -280,14 +280,14 @@ gdl_dock_item_class_init (GdlDockItemClass *klass)
g_object_class_install_property (
g_object_class, PROP_PREFERRED_WIDTH,
g_param_spec_int ("preferred_width", _("Preferred width"),
g_param_spec_int ("preferred-width", _("Preferred width"),
_("Preferred width for the dock item"),
-1, G_MAXINT, -1,
G_PARAM_READWRITE));
g_object_class_install_property (
g_object_class, PROP_PREFERRED_HEIGHT,
g_param_spec_int ("preferred_height", _("Preferred height"),
g_param_spec_int ("preferred-height", _("Preferred height"),
_("Preferred height for the dock item"),
-1, G_MAXINT, -1,
G_PARAM_READWRITE));
......@@ -295,7 +295,7 @@ gdl_dock_item_class_init (GdlDockItemClass *klass)
/* signals */
gdl_dock_item_signals [DOCK_DRAG_BEGIN] =
g_signal_new ("dock_drag_begin",
g_signal_new ("dock-drag-begin",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GdlDockItemClass, dock_drag_begin),
......@@ -306,7 +306,7 @@ gdl_dock_item_class_init (GdlDockItemClass *klass)
0);
gdl_dock_item_signals [DOCK_DRAG_MOTION] =
g_signal_new ("dock_drag_motion",
g_signal_new ("dock-drag-motion",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GdlDockItemClass, dock_drag_motion),
......@@ -426,7 +426,7 @@ gdl_dock_item_set_property (GObject *g_object,
if ((old_beh ^ item->behavior) & GDL_DOCK_ITEM_BEH_LOCKED) {
if (GDL_DOCK_OBJECT_GET_MASTER (item))
g_signal_emit_by_name (GDL_DOCK_OBJECT_GET_MASTER (item),
"layout_changed");
"layout-changed");
g_object_notify (g_object, "locked");
gdl_dock_item_showhide_grip (item);
}
......@@ -448,7 +448,7 @@ gdl_dock_item_set_property (GObject *g_object,
if (GDL_DOCK_OBJECT_GET_MASTER (item))
g_signal_emit_by_name (GDL_DOCK_OBJECT_GET_MASTER (item),
"layout_changed");
"layout-changed");
}
break;
}
......@@ -1443,7 +1443,7 @@ gdl_dock_item_new (const gchar *name,
item = GDL_DOCK_ITEM (g_object_new (GDL_TYPE_DOCK_ITEM,
"name", name,
"long_name", long_name,
"long-name", long_name,
"behavior", behavior,
NULL));
GDL_DOCK_OBJECT_UNSET_FLAGS (item, GDL_DOCK_AUTOMATIC);
......@@ -1462,8 +1462,8 @@ gdl_dock_item_new_with_stock (const gchar *name,
item = GDL_DOCK_ITEM (g_object_new (GDL_TYPE_DOCK_ITEM,
"name", name,
"long_name", long_name,
"stock_id", stock_id,
"long-name", long_name,
"stock-id", stock_id,
"behavior", behavior,
NULL));
GDL_DOCK_OBJECT_UNSET_FLAGS (item, GDL_DOCK_AUTOMATIC);
......
......@@ -336,7 +336,7 @@ update_items_model (GdlDockLayout *layout)
if (l) {
/* found, update data */
g_object_get (item,
"long_name", &long_name,
"long-name", &long_name,
"locked", &locked,
NULL);
gtk_list_store_set (store, &iter,
......@@ -368,7 +368,7 @@ update_items_model (GdlDockLayout *layout)
GdlDockObject *object = l->data;
g_object_get (object,
"long_name", &long_name,
"long-name", &long_name,
"locked", &locked,
NULL);
gtk_list_store_append (store, &iter);
......@@ -692,7 +692,7 @@ gdl_dock_layout_construct_layouts_ui (GdlDockLayout *layout)
ui_data->layout = layout;
g_object_add_weak_pointer (G_OBJECT (layout),
(gpointer *) &ui_data->layout);
g_object_set_data (G_OBJECT (container), "ui_data", ui_data);
g_object_set_data (G_OBJECT (container), "ui-data", ui_data);
/* get ui widget references */
layouts_list = glade_xml_get_widget (gui, "layouts_list");
......@@ -1151,7 +1151,7 @@ gdl_dock_layout_attach (GdlDockLayout *layout,
layout->master = master;
if (layout->master) {
g_object_ref (layout->master);
g_signal_connect (layout->master, "layout_changed",
g_signal_connect (layout->master, "layout-changed",
(GCallback) gdl_dock_layout_layout_changed_cb,
layout);
}
......
......@@ -129,7 +129,7 @@ gdl_dock_master_class_init (GdlDockMasterClass *klass)
g_object_class_install_property (
g_object_class, PROP_DEFAULT_TITLE,
g_param_spec_string ("default_title", _("Default title"),
g_param_spec_string ("default-title", _("Default title"),
_("Default title for newly created floating docks"),
NULL,
G_PARAM_READWRITE));
......@@ -144,7 +144,7 @@ gdl_dock_master_class_init (GdlDockMasterClass *klass)
G_PARAM_READWRITE));
master_signals [LAYOUT_CHANGED] =
g_signal_new ("layout_changed",
g_signal_new ("layout-changed",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdlDockMasterClass, layout_changed),
......@@ -630,10 +630,10 @@ gdl_dock_master_layout_changed (GdlDockMaster *master)
{
g_return_if_fail (GDL_IS_DOCK_MASTER (master));
/* emit "layout_changed" on the controller to notify the user who
/* emit "layout-changed" on the controller to notify the user who
* normally shouldn't have access to us */
if (master->controller)
g_signal_emit_by_name (master->controller, "layout_changed");
g_signal_emit_by_name (master->controller, "layout-changed");
/* remove the idle handler if there is one */
if (master->_priv->idle_layout_changed_id) {
......
......@@ -186,7 +186,7 @@ gdl_dock_notebook_instance_init (GdlDockNotebook *notebook)
item->child = gtk_notebook_new ();
gtk_widget_set_parent (item->child, GTK_WIDGET (notebook));
gtk_notebook_set_tab_pos (GTK_NOTEBOOK (item->child), GTK_POS_BOTTOM);
g_signal_connect (item->child, "switch_page",
g_signal_connect (item->child, "switch-page",
(GCallback) gdl_dock_notebook_switch_page_cb, (gpointer) item);
g_signal_connect (item->child, "notify::page",
(GCallback) gdl_dock_notebook_notify_cb, (gpointer) item);
......@@ -288,7 +288,7 @@ gdl_dock_notebook_switch_page_cb (GtkNotebook *nb,
if (GDL_DOCK_ITEM_USER_ACTION (notebook) &&
GDL_DOCK_OBJECT (notebook)->master)
g_signal_emit_by_name (GDL_DOCK_OBJECT (notebook)->master,
"layout_changed");
"layout-changed");
}
static void
......@@ -388,7 +388,7 @@ gdl_dock_notebook_dock (GdlDockObject *object,
label = gdl_dock_item_get_tablabel (requestor_item);
if (!label) {
g_object_get (requestor_item, "long_name", &name, NULL);
g_object_get (requestor_item, "long-name", &name, NULL);
label = gtk_label_new (name);
g_free (name);
gdl_dock_item_set_tablabel (requestor_item, label);
......
......@@ -124,14 +124,14 @@ gdl_dock_object_class_init (GdlDockObjectClass *klass)
g_object_class_install_property (
g_object_class, PROP_LONG_NAME,
g_param_spec_string ("long_name", _("Long name"),
g_param_spec_string ("long-name", _("Long name"),
_("Human readable name for the dock object"),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (
g_object_class, PROP_STOCK_ID,
g_param_spec_string ("stock_id", _("Stock Icon"),
g_param_spec_string ("stock-id", _("Stock Icon"),
_("Stock icon for the dock object"),
NULL,
G_PARAM_READWRITE));
......
......@@ -178,7 +178,7 @@ gdl_dock_paned_button_cb (GtkWidget *widget,
if (paned->position_changed) {
/* emit pending layout changed signal to track separator position */
if (GDL_DOCK_OBJECT (paned)->master)
g_signal_emit_by_name (GDL_DOCK_OBJECT (paned)->master, "layout_changed");
g_signal_emit_by_name (GDL_DOCK_OBJECT (paned)->master, "layout-changed");
paned->position_changed = FALSE;
}
}
......
......@@ -156,7 +156,7 @@ gdl_dock_placeholder_class_init (GdlDockPlaceholderClass *klass)
/* this will return the top of the placement stack */
g_object_class_install_property (
g_object_class, PROP_NEXT_PLACEMENT,
g_param_spec_enum ("next_placement", _("Next placement"),
g_param_spec_enum ("next-placement", _("Next placement"),
_("The position an item will be docked to our host if a "
"request is made to dock to us"),
GDL_TYPE_DOCK_PLACEMENT,
......@@ -555,11 +555,11 @@ gdl_dock_placeholder_new (gchar *name,
gdl_dock_placeholder_attach (ph, object);
if (position == GDL_DOCK_NONE)
position = GDL_DOCK_CENTER;
g_object_set (G_OBJECT (ph), "next_placement", position, NULL);
g_object_set (G_OBJECT (ph), "next-placement", position, NULL);
if (GDL_IS_DOCK (object)) {
/* the top placement will be consumed by the toplevel
dock, so add a dummy placement */
g_object_set (G_OBJECT (ph), "next_placement", GDL_DOCK_CENTER, NULL);
g_object_set (G_OBJECT (ph), "next-placement", GDL_DOCK_CENTER, NULL);
}
/* try a recursion */
do_excursion (ph);
......
......@@ -204,8 +204,8 @@ gdl_dock_tablabel_set_property (GObject *object,
g_object_get (tablabel->item,
"locked", &locked,
"long_name", &long_name,
"grip_size", &tablabel->drag_handle_size,
"long-name", &long_name,
"grip-size", &tablabel->drag_handle_size,
NULL);
if (locked)
......@@ -257,8 +257,8 @@ gdl_dock_tablabel_item_notify (GObject *master,
g_object_get (master,
"locked", &locked,
"grip_size", &tablabel->drag_handle_size,
"long_name", &label,
"grip-size", &tablabel->drag_handle_size,
"long-name", &label,
NULL);
if (locked)
......@@ -372,7 +372,7 @@ gdl_dock_tablabel_paint (GtkWidget *widget,
gtk_paint_handle (widget->style, widget->window,
tablabel->active ? GTK_STATE_NORMAL : GTK_STATE_ACTIVE,
GTK_SHADOW_NONE,
&dest, widget, "dock_tablabel",
&dest, widget, "dock-tablabel",
rect.x, rect.y, rect.width, rect.height,
GTK_ORIENTATION_VERTICAL);
};
......
......@@ -179,7 +179,7 @@ gdl_dock_class_init (GdlDockClass *klass)
g_object_class_install_property (
g_object_class, PROP_DEFAULT_TITLE,
g_param_spec_string ("default_title", _("Default title"),
g_param_spec_string ("default-title", _("Default title"),
_("Default title for the newly created floating docks"),
NULL,
G_PARAM_READWRITE));
......@@ -243,7 +243,7 @@ gdl_dock_class_init (GdlDockClass *klass)
/* signals */
dock_signals [LAYOUT_CHANGED] =
g_signal_new ("layout_changed",
g_signal_new ("layout-changed",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdlDockClass, layout_changed),
......@@ -340,7 +340,7 @@ gdl_dock_constructor (GType type,
/* set the title and connect to the long_name notify queue
so we can reset the title when this prop changes */
gdl_dock_set_title (dock);
g_signal_connect (dock, "notify::long_name",
g_signal_connect (dock, "notify::long-name",
(GCallback) gdl_dock_notify_cb, NULL);
/* set transient for the first dock if that is a non-floating dock */
......@@ -385,7 +385,7 @@ gdl_dock_set_property (GObject *object,
case PROP_DEFAULT_TITLE:
if (GDL_DOCK_OBJECT (object)->master)
g_object_set (GDL_DOCK_OBJECT (object)->master,
"default_title", g_value_get_string (value),
"default-title", g_value_get_string (value),
NULL);
break;
case PROP_WIDTH:
......@@ -435,7 +435,7 @@ gdl_dock_get_property (GObject *object,
if (GDL_DOCK_OBJECT (object)->master) {
gchar *default_title;
g_object_get (GDL_DOCK_OBJECT (object)->master,
"default_title", &default_title,
"default-title", &default_title,
NULL);
#if GLIB_CHECK_VERSION(2,3,0)
g_value_take_string (value, default_title);
......@@ -478,12 +478,12 @@ gdl_dock_set_title (GdlDock *dock)
title = object->long_name;
}
else if (object->master) {
g_object_get (object->master, "default_title", &title, NULL);
g_object_get (object->master, "default-title", &title, NULL);
free_title = TRUE;
}
if (!title && dock->root) {
g_object_get (dock->root, "long_name", &title, NULL);
g_object_get (dock->root, "long-name", &title, NULL);
free_title = TRUE;
}
......
# List of languages
# please keep this list sorted alphabetically
#
am
az
ca
cs
da
de
dz
el
en_CA
en_GB
es
fi
fr
ga
hr
hu
it
ja
mk
ml
nb
ne
nl
pa
pl
pt
pt_BR
ru
rw
sk
sq
sr
sr@Latn
sv
vi
zh_CN
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment