]>
Pileus Git - ~andy/gtk/log
Marcel Telka [Tue, 22 Jan 2008 00:11:20 +0000 (00:11 +0000)]
Updated Slovak translation.
2008-01-22 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation.
svn path=/trunk/; revision=19391
Ihar Hrachyshka [Mon, 21 Jan 2008 00:07:07 +0000 (00:07 +0000)]
Updated Belarusian translation, converted spelling.
svn path=/trunk/; revision=19389
Yang Zhang [Sat, 19 Jan 2008 13:52:53 +0000 (13:52 +0000)]
Updated zh_CN translation from manphiz
svn path=/trunk/; revision=19386
Yang Zhang [Sat, 19 Jan 2008 13:51:39 +0000 (13:51 +0000)]
Updated zh_CN translation from manphiz
svn path=/trunk/; revision=19385
Johan Dahlin [Fri, 18 Jan 2008 16:09:26 +0000 (16:09 +0000)]
New method (GtkBuilderConverter._create_object): Conditionally take a node
2008-01-18 Johan Dahlin <johan@gnome.org>
* gtk/gtk-builder-convert (get_property_node): New method
(GtkBuilderConverter._create_object): Conditionally take a node as
a property value, so don't lose translate/context attributes if they
are set.
(GtkBuilderConverter._add_action_from_menuitem): Send in Node as
property values instead of strings.
(#509153, Erik van Pienbroek)
svn path=/trunk/; revision=19383
Mathias Hasselmann [Thu, 17 Jan 2008 16:42:04 +0000 (16:42 +0000)]
Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
* gtk/gtkcalendar.c: Release the memory returned by the detail_func.
* gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
* tests/testcalendar.c: Duplicate calendar details before returning.
svn path=/trunk/; revision=19382
Christian Persch [Wed, 16 Jan 2008 19:14:49 +0000 (19:14 +0000)]
Store the event mask and extension event mode directly in the gobject data
* gtk/gtkwidget.c: Store the event mask and extension event mode
directly in the gobject data pointer, instead of in an allocated
gint. Bug #506604.
svn path=/trunk/; revision=19381
Matthias Clasen [Wed, 16 Jan 2008 17:38:13 +0000 (17:38 +0000)]
Handle partial writes.
2008-01-15 Matthias Clasen <mclasne@redhat.com>
* gdk-pixbuf-io.c (save_to_stream): Handle partial writes.
svn path=/trunk/; revision=19380
Rahul Bhalerao [Wed, 16 Jan 2008 14:53:18 +0000 (14:53 +0000)]
Updated Marathi translations
svn path=/trunk/; revision=19379
Michael Natterer [Wed, 16 Jan 2008 14:35:46 +0000 (14:35 +0000)]
fix signature of this function and propagate errors from
2008-01-16 Michael Natterer <mitch@imendio.com>
* gdk-pixbuf-io.c (save_to_stream): fix signature of this function
and propagate errors from g_output_stream_write(). Return error
also on incomplete writes (which don't generate an error by
themselves).
Unrelated:
(gdk_pixbuf_io_init): initialize "builtin_module" on a separate
line to avoid compiler warning in the common case of no built-in
modules.
svn path=/trunk/; revision=19378
Michael Natterer [Wed, 16 Jan 2008 13:30:06 +0000 (13:30 +0000)]
use $GDK_PIXBUF_DEP_LIBS instead of $GLIB_LIBS so gio gets pulled in.
2008-01-16 Michael Natterer <mitch@imendio.com>
* Makefile.am (LDADDS): use $GDK_PIXBUF_DEP_LIBS instead of
$GLIB_LIBS so gio gets pulled in.
svn path=/trunk/; revision=19377
Michael Natterer [Wed, 16 Jan 2008 13:29:34 +0000 (13:29 +0000)]
add "gio-2.0" because gdk-pixbuf now uses gio functions.
2008-01-16 Michael Natterer <mitch@imendio.com>
* configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
gdk-pixbuf now uses gio functions.
svn path=/trunk/; revision=19376
Matthias Clasen [Wed, 16 Jan 2008 05:25:35 +0000 (05:25 +0000)]
Emit the notify::model signal. (#509819, David Zeuthen)
2008-01-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
the notify::model signal. (#509819, David Zeuthen)
svn path=/trunk/; revision=19374
Matthias Clasen [Wed, 16 Jan 2008 02:24:47 +0000 (02:24 +0000)]
Add stream i/o functions for gdk-pixbuf
svn path=/trunk/; revision=19373
Michael Natterer [Tue, 15 Jan 2008 15:32:37 +0000 (15:32 +0000)]
gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h
2008-01-15 Michael Natterer <mitch@imendio.com>
* gdk/gdkdisplay.h
* gdk/gdkdrawable.h
* gdk/gdkevents.h
* gdk/gdkpango.h
* gdk/gdkregion.h
* gdk/gdkrgb.h
* gdk/gdkwindow.h: made more struct pointer and array parameters
const. GDK should now be constified as far as possible without
breaking source compatibility. Includes some minor cleanup like
indentation and s/nfoo/n_foo/ (bug #508544).
* gdk/gdkdisplay.c
* gdk/gdkdraw.c
* gdk/gdkevents.c
* gdk/gdkpango.c
* gdk/gdkregion-generic.c
* gdk/gdkrgb.c
* gdk/directfb/gdkdisplay-directfb.c
* gdk/directfb/gdkwindow-directfb.c
* gdk/quartz/gdkdisplay-quartz.c
* gdk/quartz/gdkwindow-quartz.c
* gdk/win32/gdkdisplay-win32.c
* gdk/win32/gdkwindow-win32.c
* gdk/x11/gdkdisplay-x11.c
* gdk/x11/gdkwindow-x11.c: changed accordingly.
svn path=/trunk/; revision=19372
Michael Natterer [Mon, 14 Jan 2008 17:07:03 +0000 (17:07 +0000)]
add cast to fix const warning.
2008-01-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
const warning.
(gtk_rc_parse_any): change variables to const and introduce
another local variable to fix const warnings.
svn path=/trunk/; revision=19371
Michael Natterer [Mon, 14 Jan 2008 15:00:57 +0000 (15:00 +0000)]
cast the return value of gdk_screen_get_font_options() to gpointer to get
2008-01-14 Michael Natterer <mitch@imendio.com>
* gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
of gdk_screen_get_font_options() to gpointer to get rid of const
warning.
svn path=/trunk/; revision=19370
Michael Natterer [Mon, 14 Jan 2008 14:34:07 +0000 (14:34 +0000)]
fix another call to gtk_selection_data_set().
2008-01-14 Michael Natterer <mitch@imendio.com>
* tests/testdnd.c (source_drag_data_get): fix another call to
gtk_selection_data_set().
svn path=/trunk/; revision=19369
Michael Natterer [Mon, 14 Jan 2008 14:22:59 +0000 (14:22 +0000)]
fix signedness warning.
2008-01-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
signedness warning.
svn path=/trunk/; revision=19368
Michael Natterer [Mon, 14 Jan 2008 14:19:21 +0000 (14:19 +0000)]
remove unused variable.
2008-01-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkiconcache.c (find_image_offset): remove unused variable.
svn path=/trunk/; revision=19367
Michael Natterer [Mon, 14 Jan 2008 14:17:26 +0000 (14:17 +0000)]
cast "uris" to guchar* when passing it to gtk_selection_data_set().
2008-01-14 Michael Natterer <mitch@gimp.org>
* gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
"uris" to guchar* when passing it to gtk_selection_data_set().
svn path=/trunk/; revision=19366
Michael Natterer [Mon, 14 Jan 2008 14:02:12 +0000 (14:02 +0000)]
gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h
2008-01-14 Michael Natterer <mitch@imendio.com>
* gdk/gdk.h
* gdk/gdkcairo.h
* gdk/gdkcolor.h
* gdk/gdkgc.h
* gdk/gdkinternals.h
* gdk/gdkregion.h
* gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
parameters const.
* gdk/gdkcairo.c
* gdk/gdkgc.c
* gdk/gdkwindow.c
* gdk/gdkrectangle.c
* gdk/gdkpolyreg-generic.c
* gdk/gdkregion-generic.c
* gdk/directfb/gdkcolor-directfb.c
* gdk/directfb/gdkgc-directfb.c
* gdk/directfb/gdkgeometry-directfb.c
* gdk/directfb/gdkwindow-directfb.c
* gdk/quartz/gdkcolor-quartz.c
* gdk/quartz/gdkgc-quartz.c
* gdk/quartz/gdkgeometry-quartz.c
* gdk/quartz/gdkwindow-quartz.c
* gdk/win32/gdkcolor-win32.c
* gdk/win32/gdkgc-win32.c
* gdk/win32/gdkgeometry-win32.c
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwindow-win32.c
* gdk/x11/gdkcolor-x11.c
* gdk/x11/gdkgc-x11.c
* gdk/x11/gdkgeometry-x11.c
* gdk/x11/gdkmain-x11.c
* gdk/x11/gdkprivate-x11.h
* gdk/x11/gdkwindow-x11.c: changed accordingly.
* gdk/gdkpolyreg-generic.c: uncruftify to have proper function
headers.
svn path=/trunk/; revision=19365
Michael Natterer [Mon, 14 Jan 2008 11:30:34 +0000 (11:30 +0000)]
cast the return value of _gdk_pixbuf_scaled_anim_new() to fix incompatible
2008-01-14 Michael Natterer <mitch@imendio.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_prepare): cast the return
value of _gdk_pixbuf_scaled_anim_new() to fix incompatible pointer
warning.
svn path=/trunk/; revision=19364
Mathias Hasselmann [Mon, 14 Jan 2008 00:12:53 +0000 (00:12 +0000)]
Explain name choice for gtk_tool_item_toolbar_reconfigured.
* gtk/gtktoolitem.c: Add comment expaining name choice for
gtk_tool_item_toolbar_reconfigured.
svn path=/trunk/; revision=19362
Mathias Hasselmann [Sun, 13 Jan 2008 23:41:46 +0000 (23:41 +0000)]
Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
implementations to notify its children, when some aspect of their
configuration changed (#509042).
* gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
* gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
Rename _gtk_tool_item_toolbar_reconfigured.
svn path=/trunk/; revision=19361
Erdal Ronahi [Sun, 13 Jan 2008 19:13:23 +0000 (19:13 +0000)]
Kurdish translation completed
svn path=/trunk/; revision=19360
Erdal Ronahi [Sun, 13 Jan 2008 18:33:53 +0000 (18:33 +0000)]
Corrected buggy translation
svn path=/trunk/; revision=19359
Erdal Ronahi [Sun, 13 Jan 2008 11:44:45 +0000 (11:44 +0000)]
Updated translations
svn path=/trunk/; revision=19358
Erdal Ronahi [Sun, 13 Jan 2008 04:43:46 +0000 (04:43 +0000)]
Corrected buggy translations (with translated |)
svn path=/trunk/; revision=19357
Mathias Hasselmann [Sat, 12 Jan 2008 22:45:14 +0000 (22:45 +0000)]
Include <gtk/gtktoolshell.h> from gtk.h.
* gtk/gtk.h: Add gtktoolshell.h
svn path=/trunk/; revision=19356
Mathias Hasselmann [Sat, 12 Jan 2008 11:10:14 +0000 (11:10 +0000)]
Print angle brackets arround e-mail addresses in the about dialog
(#409520, Mariano Suárez-Alvarez).
* gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
svn path=/trunk/; revision=19354
Djihed Afifi [Sat, 12 Jan 2008 01:06:50 +0000 (01:06 +0000)]
Updated Arabic Translation by Khaled Hosny. . Also QA'ed by Khaled.
svn path=/trunk/; revision=19353
13:28:02 Tim Janik [Fri, 11 Jan 2008 12:29:29 +0000 (12:29 +0000)]
removed old testutils special casing so test widgets are always queues for
2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
* gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
special casing so test widgets are always queues for destruction
during teardown.
* gtk/tests/testing.c: removed bits left-over from testing without
gtestutils.h.
svn path=/trunk/; revision=19352
Li Yuan [Fri, 11 Jan 2008 09:58:34 +0000 (09:58 +0000)]
Bug #508255. Remove ATK_STATE_FOCUSED state when focus jumps out. Emit
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_real_initialize), (focus_in),
(focus_out):
Bug #508255. Remove ATK_STATE_FOCUSED state when focus jumps out.
Emit "active-descendant-changed" and add ATK_STATE_FOCUSED state when
focus comes in again.
svn path=/trunk/; revision=19351
Li Yuan [Fri, 11 Jan 2008 09:48:23 +0000 (09:48 +0000)]
Bug #497218. Emit "active-descendant-changed" when focus first comes into
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_ref_child),
(idle_cursor_changed):
Bug #497218. Emit "active-descendant-changed" when focus first comes
into treeview. Add/remove ATK_STATE_FOCUSED when cursor changes.
svn path=/trunk/; revision=19350
Li Yuan [Fri, 11 Jan 2008 09:22:25 +0000 (09:22 +0000)]
Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_get_n_rows):
Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.
svn path=/trunk/; revision=19349
Tor Lillqvist [Thu, 10 Jan 2008 21:47:58 +0000 (21:47 +0000)]
modules/other/gail/libgail-util/Makefile.am Link with gtktargetlib and
2008-01-10 Tor Lillqvist <tml@novell.com>
* modules/other/gail/libgail-util/Makefile.am
* modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
gdktargetlib.
svn path=/trunk/; revision=19348
Tor Lillqvist [Thu, 10 Jan 2008 21:46:25 +0000 (21:46 +0000)]
Build defaultvaluetest only on Unix as it uses gtkprintunixdialog API.
2008-01-10 Tor Lillqvist <tml@novell.com>
* tests/Makefile.am: Build defaultvaluetest only on Unix as it
uses gtkprintunixdialog API.
svn path=/trunk/; revision=19347
Tor Lillqvist [Thu, 10 Jan 2008 21:40:48 +0000 (21:40 +0000)]
gdk/win32/gdkdisplay-win32.c gdk/win32/gdkglobals-win32.c
2008-01-10 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdisplay-win32.c
* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkscreen-win32.c
* gdk/win32/gdkwindow-win32.c: Implement
gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
Iwamoto. (#505753)
svn path=/trunk/; revision=19346
Cody Russell [Thu, 10 Jan 2008 20:58:40 +0000 (20:58 +0000)]
Properly ref/unref windows and parents. (#506769)
2008-01-10 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
Properly ref/unref windows and parents. (#506769)
svn path=/trunk/; revision=19344
Richard Hult [Thu, 10 Jan 2008 19:35:53 +0000 (19:35 +0000)]
Move the tracking rect workaround from here...
2008-01-10 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
(gdk_window_hide), (move_resize_window_internal): Move the
tracking rect workaround from here...
* gdk/quartz/GdkQuartzWindow.c:
* gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
movements during showing/hiding operations. Fixes bug #508516.
svn path=/trunk/; revision=19342
Sven Neumann [Thu, 10 Jan 2008 19:04:02 +0000 (19:04 +0000)]
corrected documentation for GtkEditable::delete-text.
2008-01-10 Sven Neumann <sven@gimp.org>
* gtk/tmpl/gtkeditable.sgml: corrected documentation for
GtkEditable::delete-text.
svn path=/trunk/; revision=19341
Michael Natterer [Thu, 10 Jan 2008 17:04:45 +0000 (17:04 +0000)]
add these functions to make it build again.
2008-01-10 Michael Natterer <mitch@imendio.com>
* gdk/directfb/gdkscreen-directfb.c
(gdk_screen_get_monitor_width_mm)
(gdk_screen_get_monitor_height_mm)
(gdk_screen_get_monitor_plug_name): add these functions to make
it build again.
svn path=/trunk/; revision=19340
Emmanuele Bassi [Thu, 10 Jan 2008 14:27:54 +0000 (14:27 +0000)]
Fix possible recursion by resetting the idle source id. (#507605, William
2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchoosermenu.c:
(idle_populate_func), (idle_populate_clean_up): Fix possible
recursion by resetting the idle source id. (#507605, William
Pitcock)
svn path=/trunk/; revision=19339
Kristian Rietveld [Thu, 10 Jan 2008 10:13:28 +0000 (10:13 +0000)]
fully initialize GdkWindowAttr to avoid valgrind warnings. (#507751, patch
2008-01-10 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
(_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
avoid valgrind warnings. (#507751, patch from Christian Persch).
svn path=/trunk/; revision=19333
Kristian Rietveld [Thu, 10 Jan 2008 09:27:40 +0000 (09:27 +0000)]
Fix a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
2008-01-10 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
svn path=/trunk/; revision=19332
Kristian Rietveld [Thu, 10 Jan 2008 09:24:11 +0000 (09:24 +0000)]
Fix #477175, reported by Juri Pakaste.
2008-01-10 Kristian Rietveld <kris@imendio.com>
Fix #477175, reported by Juri Pakaste.
* gtk/gtktreeprivate.h:
* gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
tree_view->priv->dy here directly, just calculate the new value
and set it on the adjustment,
(gtk_tree_view_adjustment_changed): add guards to not call
gtk_tree_view_dy_to_top_row() if we are currently in
gtk_tree_view_top_row_to_dy(),
(gtk_tree_view_put): fix coordinate annotation: these are bin_window
coordinates, not tree coordinates,
(gtk_tree_view_real_start_editing): add cast.
* gtk/tests/treeview-scrolling.c: add an assertion for checking the
position of the editable in the "create new row and start editing"
tests.
svn path=/trunk/; revision=19331
Michael Natterer [Wed, 9 Jan 2008 17:02:50 +0000 (17:02 +0000)]
remove unused variable.
2008-01-09 Michael Natterer <mitch@imendio.com>
* gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
variable.
* gtk/gtkcombobox.c (gtk_combo_box_detacher)
* gtk/gtkicontheme.c (theme_list_contexts)
(gtk_icon_theme_lookup_icon)
* gtk/gtkimcontextsimple.c (beep_window)
* gtk/gtklinkbutton.c (set_link_color)
* gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
fix warnings.
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
variable and add const to another to fix a warning.
svn path=/trunk/; revision=19330
Matthias Clasen [Tue, 8 Jan 2008 03:50:29 +0000 (03:50 +0000)]
Be more robust when removing the current page. (#499951, Andreas Sandberg)
2008-01-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkassistant.c (remove_page): Be more robust when removing
the current page. (#499951, Andreas Sandberg)
svn path=/trunk/; revision=19321
Priit Laes [Mon, 7 Jan 2008 11:13:42 +0000 (11:13 +0000)]
Translation updated by Ivar Smolin
2008-01-07 Priit Laes <plaes at svn dot gnome dot org>
* et.po: Translation updated by Ivar Smolin
svn path=/trunk/; revision=19320
Johan Dahlin [Mon, 7 Jan 2008 01:26:39 +0000 (01:26 +0000)]
Declare value in the example code for GtkSpinButton::output, as pointed
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtkspinbutton.c: Declare value in the example code for
GtkSpinButton::output, as pointed out by Anders Carlsson.
svn path=/trunk/; revision=19319
Christian Persch [Sun, 6 Jan 2008 23:09:24 +0000 (23:09 +0000)]
Make the labels left-aligned, and remove an obsolete event box. Bug
2008-01-06 Christian Persch <chpe@gnome.org>
* gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
and remove an obsolete event box. Bug #506760.
svn path=/trunk/; revision=19318
Johan Dahlin [Sun, 6 Jan 2008 15:20:40 +0000 (15:20 +0000)]
Update, GtkBuilder::translation-domain is no longer set
2008-01-06 Johan Dahlin <johan@gnome.org>
* tests/buildertest.c (test_domain):
Update, GtkBuilder::translation-domain is no longer set
svn path=/trunk/; revision=19317
Johan Dahlin [Sun, 6 Jan 2008 15:17:26 +0000 (15:17 +0000)]
Allow domains to be overridden in <interface>'s if a translation-domain is
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtkbuilderparser.c (parse_interface):
Allow domains to be overridden in <interface>'s if a translation-domain
is set in the builder.
(_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
of the builder, make the domain set in the <interface> apply only to strings
in that interface.
(#496831, Ryan Lortie)
svn path=/trunk/; revision=19316
Johan Dahlin [Sun, 6 Jan 2008 15:06:55 +0000 (15:06 +0000)]
Avoid adding unnecessary trailing newlines to g_warning calls.
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
to g_warning calls.
svn path=/trunk/; revision=19315
Johan Dahlin [Sun, 6 Jan 2008 14:58:57 +0000 (14:58 +0000)]
Remove an unused variable
* gtk/gtktreestore.c (tree_model_end_element):
Remove an unused variable
svn path=/trunk/; revision=19314
Yang Zhang [Sun, 6 Jan 2008 07:02:56 +0000 (07:02 +0000)]
Updated zh_CN translation from manphiz
svn path=/trunk/; revision=19313
Matthias Clasen [Sun, 6 Jan 2008 06:35:49 +0000 (06:35 +0000)]
Document the ::output signal and add an example. (#507566, example by Owen
2008-01-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkspinbutton.c: Document the ::output signal and
add an example. (#507566, example by Owen Taylor)
svn path=/trunk/; revision=19312
Johan Dahlin [Sun, 6 Jan 2008 03:28:40 +0000 (03:28 +0000)]
Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. Fixes #5075
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtkcellrenderercombo.c:
(gtk_cell_renderer_combo_get_property),
(gtk_cell_renderer_combo_set_property):
* gtk/gtkcombobox.c: (gtk_combo_box_set_property):
* gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
* gtk/gtknotebook.c: (gtk_notebook_set_property):
* gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
* gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
(gtk_text_buffer_get_property):
* gtk/gtktextview.c: (gtk_text_view_set_property):
* gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
* gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
(gtk_tool_button_get_property):
* gtk/gtktoolitem.c: (gtk_tool_item_set_property),
(gtk_tool_item_get_property):
* gtk/gtktreeview.c: (gtk_tree_view_set_property):
* gtk/gtkwidget.c: (gtk_widget_set_property):
* gtk/gtkwindow.c: (gtk_window_set_property):
Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
Fixes #5075
svn path=/trunk/; revision=19311
Johan Dahlin [Sun, 6 Jan 2008 02:18:38 +0000 (02:18 +0000)]
Make sure that --root works for toplevel widgets. (#491847, Phil Lello)
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
Make sure that --root works for toplevel widgets.
(#491847, Phil Lello)
svn path=/trunk/; revision=19309
Johan Dahlin [Sat, 5 Jan 2008 23:21:36 +0000 (23:21 +0000)]
Include Makefile.decl, to make sure that make test-report works properly
2008-01-05 Johan Dahlin <johan@gnome.org>
* modules/other/gail/tests/Makefile.am: Include Makefile.decl,
to make sure that make test-report works properly
svn path=/trunk/; revision=19308
Christian Persch [Sat, 5 Jan 2008 18:56:47 +0000 (18:56 +0000)]
Fix mem leak, and don't pass GType as integer through gpointer. Bug
2008-01-05 Christian Persch <chpe@gnome.org>
* tests/defaultvaluetest.c: Fix mem leak, and don't pass
GType as integer through gpointer. Bug #507395.
svn path=/trunk/; revision=19307
Mathias Hasselmann [Sat, 5 Jan 2008 08:33:53 +0000 (08:33 +0000)]
Avoid some compiler warnings (#507000).
* gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
for value argument of _gtk_builder_flags_from_string.
* gtk/gtkwidget.c: Don't alias the child pointer passed
to gdk_window_get_user_data.
svn path=/trunk/; revision=19306
Michael Natterer [Fri, 4 Jan 2008 16:21:42 +0000 (16:21 +0000)]
don't forget to set the time in the returned GdkTimeCoords.
2008-01-04 Michael Natterer <mitch@imendio.com>
* gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
to set the time in the returned GdkTimeCoords.
svn path=/trunk/; revision=19304
Emmanuele Bassi [Thu, 3 Jan 2008 12:29:16 +0000 (12:29 +0000)]
Use the correct comparison function (kudos to Christian Persch and Claudio
2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
correct comparison function (kudos to Christian Persch and
Claudio Saavedra for spotting this)
* gtk/gtkrecentchooserutils.c:
(sort_recent_items_mru),
(sort_recent_items_lru): Ditto as above.
svn path=/trunk/; revision=19302
Johan Dahlin [Thu, 3 Jan 2008 08:51:03 +0000 (08:51 +0000)]
Make it pass again.
2008-01-03 Johan Dahlin <johan@gnome.org>
* tests/defaultvaluetest.c: Make it pass again.
svn path=/trunk/; revision=19300
Johan Dahlin [Wed, 2 Jan 2008 17:26:17 +0000 (17:26 +0000)]
Ignore a few more tests to make it pass on Ubuntu. (main): Use
2008-01-02 Johan Dahlin <johan@gnome.org>
* tests/defaultvaluetest.c (test_type): Ignore a few more tests to
make it pass on Ubuntu.
(main): Use gtk_test_list_all_types () instead of providing our
own list.
And it no longer passes.
svn path=/trunk/; revision=19298
Yannig MARCHEGAY [Mon, 31 Dec 2007 21:08:12 +0000 (21:08 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=19295
Johannes Schmid [Mon, 31 Dec 2007 16:26:18 +0000 (16:26 +0000)]
Also reorder menu when reordering tabs by drag & drop (Bug #506474)
2007-12-30 Johannes Schmid <jhs@gnome.org>
* gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
Also reorder menu when reordering tabs by drag & drop
(Bug #506474)
* tests/testnotebookdnd.c: (create_notebook_with_notebooks):
Add a menu to one of the notebooks to have a test-case for
the change mentioned above.
svn path=/trunk/; revision=19294
Philip Van Hoof [Mon, 31 Dec 2007 11:26:55 +0000 (11:26 +0000)]
Using GSlice for GtkTreePath
2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
* gtk/gtktreemodel.c: Using GSlice for GtkTreePath
svn path=/trunk/; revision=19292
Christian Persch [Mon, 31 Dec 2007 00:04:32 +0000 (00:04 +0000)]
Plug a mem leak. Bug #506107.
2007-12-31 Christian Persch <chpe@gnome.org>
* gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
Plug a mem leak. Bug #506107.
svn path=/trunk/; revision=19290
Matthias Clasen [Sat, 29 Dec 2007 00:14:30 +0000 (00:14 +0000)]
Adjust to icon cache api change. (#506135, Kazuki Iwamoto)
2007-12-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconfactory.c (render_fallback_image): Adjust to
icon cache api change. (#506135, Kazuki Iwamoto)
svn path=/trunk/; revision=19289
Mathias Hasselmann [Fri, 28 Dec 2007 22:55:45 +0000 (22:55 +0000)]
Second attempt to fix the ChangeLog WTF - by comparing with the commit messages
in my mailbox. You really shall not write ChangeLog entries by hand: It is
redundant to the SVN log, merge conflicts cost time and it is error prone.
svn path=/trunk/; revision=19288
Mathias Hasselmann [Fri, 28 Dec 2007 22:24:48 +0000 (22:24 +0000)]
Correct typo and remove the ChangeLog-WTF, mclasen produced with r19253.
svn path=/trunk/; revision=19287
Mathias Hasselmann [Fri, 28 Dec 2007 22:11:35 +0000 (22:11 +0000)]
Remove max_detail_height field from GtkCalendarPrivate. (#339540)
* gtk/gtkcalendar.c: Drop max_detail_height field, and use
a local variable instead in gtk_calendar_size_request.
svn path=/trunk/; revision=19286
Matthias Clasen [Fri, 28 Dec 2007 21:19:11 +0000 (21:19 +0000)]
Add exlusions
svn path=/trunk/; revision=19285
Christian Persch [Fri, 28 Dec 2007 20:23:14 +0000 (20:23 +0000)]
Move the gail tests from standalone gail to gtk+. Bug #504568.
svn path=/trunk/; revision=19284
Matthias Clasen [Fri, 28 Dec 2007 19:55:37 +0000 (19:55 +0000)]
Make finalizer more robust
svn path=/trunk/; revision=19283
Mathias Hasselmann [Fri, 28 Dec 2007 19:46:53 +0000 (19:46 +0000)]
Draw bottom shadow of GtkCalender headings. (#506113)
* gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
svn path=/trunk/; revision=19282
Matthias Clasen [Fri, 28 Dec 2007 19:36:16 +0000 (19:36 +0000)]
Document some initial values
svn path=/trunk/; revision=19281
Matthias Clasen [Fri, 28 Dec 2007 19:20:26 +0000 (19:20 +0000)]
More default property value fixes
svn path=/trunk/; revision=19280
Christian Persch [Fri, 28 Dec 2007 19:18:55 +0000 (19:18 +0000)]
Plug a mem leak. Bug #506096.
2007-12-28 Christian Persch <chpe@gnome.org>
* gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
a mem leak. Bug #506096.
svn path=/trunk/; revision=19279
Matthias Clasen [Fri, 28 Dec 2007 18:10:32 +0000 (18:10 +0000)]
More default property value fixes
svn path=/trunk/; revision=19278
Matthias Clasen [Fri, 28 Dec 2007 17:29:53 +0000 (17:29 +0000)]
More default property value fixes
svn path=/trunk/; revision=19277
Matthias Clasen [Fri, 28 Dec 2007 17:10:33 +0000 (17:10 +0000)]
More default property value corrections
svn path=/trunk/; revision=19276
Matthias Clasen [Fri, 28 Dec 2007 15:57:14 +0000 (15:57 +0000)]
Fix a finalizer issue
svn path=/trunk/; revision=19275
Matthias Clasen [Fri, 28 Dec 2007 15:51:31 +0000 (15:51 +0000)]
Don't return NULL.
2007-12-28 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
svn path=/trunk/; revision=19274
Matthias Clasen [Fri, 28 Dec 2007 15:46:18 +0000 (15:46 +0000)]
Fix default property values
svn path=/trunk/; revision=19273
Matthias Clasen [Fri, 28 Dec 2007 15:43:51 +0000 (15:43 +0000)]
Fix default values
svn path=/trunk/; revision=19272
Matthias Clasen [Fri, 28 Dec 2007 15:21:24 +0000 (15:21 +0000)]
Fix the default value of the curve-type property
svn path=/trunk/; revision=19271
Matthias Clasen [Fri, 28 Dec 2007 15:18:32 +0000 (15:18 +0000)]
Fix the default value of enable-arrows-always
svn path=/trunk/; revision=19270
Johan Dahlin [Fri, 28 Dec 2007 10:36:07 +0000 (10:36 +0000)]
Chain up. This makes it possible to have accelerators tags on GtkDialog
2007-12-28 Johan Dahlin <johan@gnome.org>
* gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
(gtk_dialog_buildable_custom_tag_start): Chain up.
This makes it possible to have accelerators tags on GtkDialog
subclasses.
svn path=/trunk/; revision=19268
Mathias Hasselmann [Fri, 28 Dec 2007 09:39:34 +0000 (09:39 +0000)]
Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details are shown within the widget, or jst as tooltip.
* gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
* tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
in flags vbox.
svn path=/trunk/; revision=19267
Mathias Hasselmann [Fri, 28 Dec 2007 09:36:57 +0000 (09:36 +0000)]
Try more decent appearance of calendar details separator. (#339540)
* gtk/gtkcalendar.c: Use different colors for drawing the separator,
and make it short by one pixel on each side.
svn path=/trunk/; revision=19266
Mathias Hasselmann [Fri, 28 Dec 2007 09:36:40 +0000 (09:36 +0000)]
Apply trivial code-style changes from attachement 101101. (#339540)
* tests/testcalendar.c: Some updates to current GTK+ code-style.
svn path=/trunk/; revision=19265
Mathias Hasselmann [Fri, 28 Dec 2007 09:36:21 +0000 (09:36 +0000)]
Restructure testcalendar for testing calendar details. (#339540)
* tests/testcalendar.c: Push code arround for testing calendar details.
svn path=/trunk/; revision=19264
Mathias Hasselmann [Fri, 28 Dec 2007 09:36:06 +0000 (09:36 +0000)]
Implement GtkTooltip API for calendar details. (#339540)
* gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
Remember detail overflows in calendar_paint_day to show the tooltip
only when neccessary.
svn path=/trunk/; revision=19263
Mathias Hasselmann [Fri, 28 Dec 2007 09:26:38 +0000 (09:26 +0000)]
Without setting "detail-width-chars" and "detail-height-rows"
properties not only the widget has to be redrawn on certain
conditions, but also its size must be recalculated. (#339540)
* gtk/gtkcalendar.c: Add calendar_queue_refresh and call
that function instead of gtk_widget_queue_draw.
svn path=/trunk/; revision=19262
Mathias Hasselmann [Fri, 28 Dec 2007 09:26:20 +0000 (09:26 +0000)]
Consider details for size-request and expose-event. (#339540)
* gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
is_color_attribute functions. Change gtk_calendar_size_request
and calendar_paint_day to consider and show calender details.
svn path=/trunk/; revision=19261
SANDRA MARAKKALA DANISHKA NAVIN [Fri, 28 Dec 2007 08:30:22 +0000 (08:30 +0000)]
updated si.po
svn path=/trunk/; revision=19260