]> Pileus Git - ~andy/gtk/log
~andy/gtk
16 years agoexamples/gtkdial/gtkdial.h use G_BEGIN/END_DECLS.
Michael Natterer [Mon, 26 May 2008 14:34:24 +0000 (14:34 +0000)]
examples/gtkdial/gtkdial.h use G_BEGIN/END_DECLS.

2008-05-26  Michael Natterer  <mitch@imendio.com>

* examples/gtkdial/gtkdial.h
* modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.

svn path=/trunk/; revision=20179

16 years agolibgail-util/gailmisc.h use G_BEGIN/END_DECLS.
Michael Natterer [Mon, 26 May 2008 14:23:33 +0000 (14:23 +0000)]
libgail-util/gailmisc.h use G_BEGIN/END_DECLS.

2008-05-26  Michael Natterer  <mitch@imendio.com>

* libgail-util/gailmisc.h
* libgail-util/gailtextutil.h: use G_BEGIN/END_DECLS.

svn path=/trunk/; revision=20178

16 years agofix indentation.
Michael Natterer [Mon, 26 May 2008 13:07:38 +0000 (13:07 +0000)]
fix indentation.

2008-05-26  Michael Natterer  <mitch@imendio.com>

* gtk/gtkimmodule.h: fix indentation.

svn path=/trunk/; revision=20177

16 years agoinclude "gdk/gdk.h" instead of "gdk/gdkscreen.h"
Michael Natterer [Mon, 26 May 2008 09:51:48 +0000 (09:51 +0000)]
include "gdk/gdk.h" instead of "gdk/gdkscreen.h"

2008-05-26  Michael Natterer  <mitch@imendio.com>

* gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"

* gtk/gtkshow.c: remove inclusion of single files from gdk/

Removed trailing whitespace in both files.

svn path=/trunk/; revision=20176

16 years agoBug 530353 – Mac-like gtk_accelerator_get_label()
Richard Hult [Mon, 26 May 2008 08:54:00 +0000 (08:54 +0000)]
Bug 530353 – Mac-like gtk_accelerator_get_label()

2008-05-26  Richard Hult  <richard@imendio.com>

Bug 530353 – Mac-like gtk_accelerator_get_label()

* gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
(append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
On quartz, make gtk_accelerator_get_label() format a Mac-like
string, using unicode characters for modifier keys, arrows, delete
etc. Patch from Yevgen Muntyan.

svn path=/trunk/; revision=20175

16 years agoBug 534869 – Length miscalculation in
Richard Hult [Mon, 26 May 2008 07:40:17 +0000 (07:40 +0000)]
Bug 534869 – Length miscalculation in

2008-05-26  Richard Hult  <richard@imendio.com>

Bug 534869 – Length miscalculation in
_gtk_quartz_get_selection_data_from_pasteboard

* gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
Get the number of bytes, not the number of characters, patch from
Yevgen Muntyan.

svn path=/trunk/; revision=20174

16 years agoAdditions
Matthias Clasen [Mon, 26 May 2008 05:43:00 +0000 (05:43 +0000)]
Additions

svn path=/trunk/; revision=20173

16 years agoSome doc formatting fixes.
Matthias Clasen [Mon, 26 May 2008 05:38:20 +0000 (05:38 +0000)]
Some doc formatting fixes.

svn path=/trunk/; revision=20172

16 years ago Bug 511163 – Remove pango_extents_to_pixels() calls
Matthias Clasen [Mon, 26 May 2008 04:33:25 +0000 (04:33 +0000)]
    Bug 511163 – Remove pango_extents_to_pixels() calls

        * gtk/gtkcellrenderertext.c (get_size): Use
        pango_layout_get_pixel_extents.

        * configure.in: Bump Pango requirement to 1.20

        * INSTALL.in: Update required versions

svn path=/trunk/; revision=20171

16 years ago Bug 513811 – Use cairo_format_stride_for_width()
Matthias Clasen [Mon, 26 May 2008 04:25:25 +0000 (04:25 +0000)]
    Bug 513811 – Use cairo_format_stride_for_width()

        * gtk/gtkhsv.c (paint_ring, paint_triangle):
        * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
        cairo_format_stride_for_width, proposed by Behdad Esfahbod.

        * configure.in: Bump cairo requirement to 1.6.0

        * INSTALL.in: Update required versions

svn path=/trunk/; revision=20170

16 years agoFormatting fixes
Matthias Clasen [Mon, 26 May 2008 04:05:17 +0000 (04:05 +0000)]
Formatting fixes

2008-05-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkshow.[hc]: Formatting fixes

        * gtk/gtkmountoperation.c: Add docs

svn path=/trunk/; revision=20169

16 years agoBug 507389 – use gslice for gtksettings
Cody Russell [Sun, 25 May 2008 23:47:36 +0000 (23:47 +0000)]
Bug 507389 – use gslice for gtksettings

2008-05-25  Cody Russell  <bratsche@gnome.org>

        Bug 507389 – use gslice for gtksettings

        * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
        Report and patch by Christian Persch.

svn path=/trunk/; revision=20168

16 years agoBug 523562 - gtk-update-icon-cache core dumps when run concurrently and
Cody Russell [Sun, 25 May 2008 23:41:43 +0000 (23:41 +0000)]
Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and

2008-05-25  Cody Russell  <bratsche@gnome.org>

        Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
        when options are missing

        * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
        that other processes that try to open it will fail gracefully.  Also
        fix a crasher caused by lack of a NULL check.  Report and patch
        by Erwann Chenede.

svn path=/trunk/; revision=20167

16 years agoBug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
Cody Russell [Sun, 25 May 2008 23:27:34 +0000 (23:27 +0000)]
Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows

2008-05-25  Cody Russell  <bratsche@gnome.org>

        Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows

        * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
        !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
        so that we also take into account for foreign windows.
        Report and patch by Nathaniel Smith.

svn path=/trunk/; revision=20166

16 years agoBug 525461 - Don't invalidate under an input-only child
Cody Russell [Sun, 25 May 2008 23:21:40 +0000 (23:21 +0000)]
Bug 525461 - Don't invalidate under an input-only child

2008-05-25  Cody Russell  <bratsche@gnome.org>

        Bug 525461 - Don't invalidate under an input-only child

        * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
        Check that the window is not input-only before invalidating.
        Report and patch by Owen Taylor.

svn path=/trunk/; revision=20165

16 years agoBug 524110 - Gdk should not assume reparenting WMs when retrieving window
Cody Russell [Sun, 25 May 2008 23:14:39 +0000 (23:14 +0000)]
Bug 524110 - Gdk should not assume reparenting WMs when retrieving window

2008-05-25  Cody Russell  <bratsche@gnome.org>

        Bug 524110 - Gdk should not assume reparenting WMs when retrieving
        window frame extents

        * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
        Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.

svn path=/trunk/; revision=20164

16 years agoBug 522269 - Evince windows sometimes incorrectly unmaximized, caused by
Cody Russell [Sun, 25 May 2008 23:09:09 +0000 (23:09 +0000)]
Bug 522269 - Evince windows sometimes incorrectly unmaximized, caused by

2008-05-25  Cody Russell  <bratsche@gnome.org>

        Bug 522269 - Evince windows sometimes incorrectly unmaximized,
        caused by missing flag initialization

        * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
        top-level private flags correctly.  Patch by Danny Baumann.

svn path=/trunk/; revision=20163

16 years agoBug 534463 - non-editable GtkTextView should not call
Cody Russell [Sun, 25 May 2008 22:58:55 +0000 (22:58 +0000)]
Bug 534463 - non-editable GtkTextView should not call

2008-05-25  Cody Russell  <bratsche@gnome.org>

        Bug 534463 - non-editable GtkTextView should not call
        gtk_im_context_focus_in in focus event

        * gtk/gtktextview.c: Add checks to see if the textview is
        editable.  Patch by Wang Diancheng.

svn path=/trunk/; revision=20162

16 years ago Bug 501730 – use GSlice for small allocs
Matthias Clasen [Sun, 25 May 2008 22:33:34 +0000 (22:33 +0000)]
    Bug 501730 – use GSlice for small allocs

        * gtk/gtkmenuitem.c:
        * gtk/gtkmenu.c: Use the slice allocator for small allocations.
        Patch by Christian Persch.

svn path=/trunk/; revision=20161

16 years ago Bug 465144 - gtkprintjob.h is not included with gtk.h
Matthias Clasen [Sun, 25 May 2008 20:46:03 +0000 (20:46 +0000)]
    Bug 465144 - gtkprintjob.h is not included with gtk.h

        * gtk/gtk-sections.txt: Fix include for gtkprintjob.h, pointed
        out by Étienne Bersac.

svn path=/trunk/; revision=20160

16 years ago Bug 523930 – sort -> search in gtktreeview.c
Matthias Clasen [Sun, 25 May 2008 20:41:55 +0000 (20:41 +0000)]
    Bug 523930 – sort -> search in gtktreeview.c

        * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
        glitch, pointed out by Björn Lindqvist.

svn path=/trunk/; revision=20159

16 years agoBug 479384 – gtk_selection_data_targets_include_uri docs buglet
Matthias Clasen [Sun, 25 May 2008 20:37:15 +0000 (20:37 +0000)]
Bug 479384 – gtk_selection_data_targets_include_uri docs buglet

2008-05-25  Matthias Clasen  <mclasen@redhat.com>

        Bug 479384 – gtk_selection_data_targets_include_uri docs buglet

        * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
        doc glitch, pointed out by Christian Persch.

svn path=/trunk/; revision=20158

16 years agoBug 534694 – Col id in GtkListStore could be out of range
Matthias Clasen [Sun, 25 May 2008 20:28:54 +0000 (20:28 +0000)]
Bug 534694 – Col id in GtkListStore could be out of range

2008-05-25  Matthias Clasen  <mclasen@redhat.com>

        Bug 534694 – Col id in GtkListStore could be out of range

        * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
        a bit. Pointed out by Jan Arne Petersen.

svn path=/trunk/; revision=20157

16 years agoBug 532497 – Configure problem when cross-compiling
Matthias Clasen [Sun, 25 May 2008 20:18:16 +0000 (20:18 +0000)]
Bug 532497 – Configure problem when cross-compiling

2008-05-25  Matthias Clasen  <mclasen@redhat.com>

        Bug 532497 – Configure problem when cross-compiling

        * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
        pointed out by Marko Lindqvist.

svn path=/trunk/; revision=20156

16 years agoEnhanced pango attribute tests, Added tests for requires tag handling.
Tristan Van Berkom [Sun, 25 May 2008 15:16:52 +0000 (15:16 +0000)]
Enhanced pango attribute tests, Added tests for requires tag handling.

* tests/buildertest.c: Enhanced pango attribute tests, Added tests
for requires tag handling.

svn path=/trunk/; revision=20154

16 years agoSlight coding style cleanup.
Richard Hult [Sun, 25 May 2008 15:15:02 +0000 (15:15 +0000)]
Slight coding style cleanup.

2008-05-25  Richard Hult  <richard@imendio.com>

* gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
Slight coding style cleanup.

svn path=/trunk/; revision=20153

16 years agoAdded support for parsing required toolkit versions (so that ui
Tristan Van Berkom [Sun, 25 May 2008 15:12:39 +0000 (15:12 +0000)]
Added support for parsing required toolkit versions (so that ui

* gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
Added support for parsing required toolkit versions (so that ui descriptions
can target specific versions of the backend widget libraries) bug 527612.

* gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
for the added xml tags to the ui description.

svn path=/trunk/; revision=20152

16 years agoRun gtk_drag_source_info_destroy in an idle, workaround for bug #501588,
Richard Hult [Sun, 25 May 2008 15:11:11 +0000 (15:11 +0000)]
Run gtk_drag_source_info_destroy in an idle, workaround for bug #501588,

2008-05-25  Richard Hult  <richard@imendio.com>

* gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
gtk_drag_source_info_destroy in an idle, workaround for bug
#501588, that makes any code that uses the context returned from
gtk_drag_begin() crash, like treeview/iconview dnd.
(GdkDragSourceOwner::provideDataForType): only use the data if we
got any.

svn path=/trunk/; revision=20151

16 years agoAdd GDK_ACTION_MOVE to the drag actions to allow trash (#137717).
Jan Arne Petersen [Sun, 25 May 2008 14:24:42 +0000 (14:24 +0000)]
Add GDK_ACTION_MOVE to the drag actions to allow trash (#137717).

2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>

* gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
to the drag actions to allow trash (#137717).

svn path=/trunk/; revision=20150

16 years agocheck that tracker is actually working before using it. Fixes bug #479197.
Josselin Mouette [Sun, 25 May 2008 14:19:16 +0000 (14:19 +0000)]
check that tracker is actually working before using it. Fixes bug #479197.

        * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
        check that tracker is actually working before using it. Fixes
        bug #479197.

svn path=/trunk/; revision=20149

16 years agorespect the GTK_NO_WINDOW flag and don't create an output window if it is
Sven Neumann [Sun, 25 May 2008 12:53:59 +0000 (12:53 +0000)]
respect the GTK_NO_WINDOW flag and don't create an output window if it is

2008-05-25  Sven Neumann  <sven@gimp.org>

* gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
(gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
and don't create an output window if it is set.

* gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
drawing areas. Fixes bug #519317.

svn path=/trunk/; revision=20148

16 years agoReorder strange window hierarchy of the GtkSpinButton (#466000).
Jan Arne Petersen [Sun, 25 May 2008 12:46:26 +0000 (12:46 +0000)]
Reorder strange window hierarchy of the GtkSpinButton (#466000).

2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>

* gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
(gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
* gtk/gtkentry.h:
* gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
(gtk_spin_button_realize), (gtk_spin_button_size_allocate),
(gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
(gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
(gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
(start_spinning), (gtk_spin_button_button_release),
(gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
(gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
(gtk_spin_button_update): Reorder strange window hierarchy of the
GtkSpinButton (#466000).

svn path=/trunk/; revision=20147

16 years agoSubtract logical.x from x to fix the wrong position for right and center
Jan Arne Petersen [Sun, 25 May 2008 12:29:19 +0000 (12:29 +0000)]
Subtract logical.x from x to fix the wrong position for right and center

2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>

* gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
fix the wrong position for right and center justified labels with
logical.x > 0 (#530255).

svn path=/trunk/; revision=20146

16 years agoIgnore G_IO_ERROR_FAILED_HANDLED errors (#532262).
Jan Arne Petersen [Sun, 25 May 2008 12:22:30 +0000 (12:22 +0000)]
Ignore G_IO_ERROR_FAILED_HANDLED errors (#532262).

2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>

* gtk/gtkfilechooserdefault.c:
(shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
errors (#532262).

svn path=/trunk/; revision=20145

16 years agotests/pixbuf-lowmem.c tests/pixbuf-random.c
Björn Lindqvist [Sun, 25 May 2008 08:41:15 +0000 (08:41 +0000)]
tests/pixbuf-lowmem.c tests/pixbuf-random.c

2008-05-25  Björn Lindqvist  <bjourne@gmail.com>

* tests/pixbuf-lowmem.c
* tests/pixbuf-random.c
* tests/pixbuf-randomly-modified.c
* tests/pixbuf-read.c
* tests/pixbuf-threads.c
* tests/testgtk.c
* tests/testtreeview.c: Fix remaining compiler warnings in these
files (#523751).

svn path=/trunk/; revision=20144

16 years agoreviewed by: Matthias Clasen
Jaap A. Haitsma [Sun, 25 May 2008 08:20:37 +0000 (08:20 +0000)]
reviewed by: Matthias Clasen

2008-05-25  Jaap A. Haitsma  <jaap@haitsma.org>

reviewed by: Matthias Clasen

* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/gtkshow.c: (gtk_show_uri):
* gtk/gtkshow.h:
Add gtk_show_uri to make showing uris really easy. Fixes bug #514396

svn path=/trunk/; revision=20143

16 years agoUse type of the correct column (#529535). Add test.
Jan Arne Petersen [Sat, 24 May 2008 23:32:13 +0000 (23:32 +0000)]
Use type of the correct column (#529535). Add test.

2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>

* gtk/gtkliststore.c: (list_store_text): Use type of the correct
column (#529535).
* tests/buildertest.c: (test_list_store): Add test.

svn path=/trunk/; revision=20142

16 years agoMake the iconfactory buildable implementation less strict
Matthias Clasen [Sat, 24 May 2008 23:19:01 +0000 (23:19 +0000)]
Make the iconfactory buildable implementation less strict

svn path=/trunk/; revision=20141

16 years ago Bug 387972 – gtkassistant drawing problem
Matthias Clasen [Sat, 24 May 2008 20:42:09 +0000 (20:42 +0000)]
    Bug 387972 – gtkassistant drawing problem

        * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
        GtkAssistant work better in glade.

svn path=/trunk/; revision=20140

16 years agoChange defaults of child properties "expand" and "homogeneous" from TRUE
Jan Arne Petersen [Sat, 24 May 2008 19:03:33 +0000 (19:03 +0000)]
Change defaults of child properties "expand" and "homogeneous" from TRUE

2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>

* gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
properties "expand" and "homogeneous" from TRUE to FALSE (as they are
used in GtkToolItem) (#532787).

svn path=/trunk/; revision=20139

16 years agoDon't try to toggle the visibility of the location entry field in search
Jan Arne Petersen [Sat, 24 May 2008 18:59:56 +0000 (18:59 +0000)]
Don't try to toggle the visibility of the location entry field in search

2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>

* gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
try to toggle the visibility of the location entry field in search and
recent mode (#526422)

svn path=/trunk/; revision=20138

16 years agoShow parse name as tooltip for path shortcuts (#137503).
Jan Arne Petersen [Sat, 24 May 2008 18:56:22 +0000 (18:56 +0000)]
Show parse name as tooltip for path shortcuts (#137503).

2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>

* gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
(shortcuts_list_create): Show parse name as tooltip for path
shortcuts (#137503).

svn path=/trunk/; revision=20137

16 years agoBug 504706 – wrong deallocator used for GError in gailtextview.c
Matthias Clasen [Sat, 24 May 2008 18:42:15 +0000 (18:42 +0000)]
Bug 504706 – wrong deallocator used for GError in gailtextview.c

2008-05-24  Matthias Clasen  <mclasen@redhat.com>

        Bug 504706 – wrong deallocator used for GError in gailtextview.c

        * gailtextview.c: Don't use g_free on a GError.

svn path=/trunk/; revision=20136

16 years agoUpdate docstring to match pango_color_parse, do not reference XParseColor
Björn Lindqvist [Sat, 24 May 2008 16:51:38 +0000 (16:51 +0000)]
Update docstring to match pango_color_parse, do not reference XParseColor

2008-05-24  Björn Lindqvist  <bjourne@gmail.com>

* gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
pango_color_parse, do not reference XParseColor forms (#434991).

svn path=/trunk/; revision=20135

16 years agoUpdated Vietnamese translation
Clytie Siddall [Sat, 24 May 2008 13:25:01 +0000 (13:25 +0000)]
Updated Vietnamese translation

svn path=/trunk/; revision=20134

16 years agoUpdated Vietnamese translation
Clytie Siddall [Sat, 24 May 2008 13:03:27 +0000 (13:03 +0000)]
Updated Vietnamese translation

svn path=/trunk/; revision=20133

16 years agoRemove duplicate gdk_window_redirect_to_drawable and
James Sharpe [Sat, 24 May 2008 00:47:05 +0000 (00:47 +0000)]
Remove duplicate gdk_window_redirect_to_drawable and

2008-05-24  James Sharpe <jsharpe@gnome.org>

        * gdk/gdk.symbols: Remove duplicate
        gdk_window_redirect_to_drawable and gdk_window_remove_redirection
        * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot

svn path=/trunk/; revision=20132

16 years agoupdated fix c99ism (variable at start of block export functions for window
Hans Breuer [Fri, 23 May 2008 20:29:27 +0000 (20:29 +0000)]
updated fix c99ism (variable at start of block export functions for window

2008-05-23  Hans Breuer  <hans@breuer.org>

* **/makefile.msc gtk/makefile.msc.in : updated
* gtk/gtkwidget.c : fix c99ism (variable at start of block
* gdk/gdk.symbols gtk/gtk.symbols : export functions for window
redirection
* gtk/gtkfilechooserdefault.c : #include <locale.h> for
setlocale(LC_ALL, ...)

svn path=/trunk/; revision=20131

16 years agoAdd gdk_window_redirect_to_drawable and gdk_window_remove_redirection.
Tor Lillqvist [Fri, 23 May 2008 18:46:40 +0000 (18:46 +0000)]
Add gdk_window_redirect_to_drawable and gdk_window_remove_redirection.

2008-05-23  Tor Lillqvist  <tml@novell.com>

* gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
gdk_window_remove_redirection.

* gdk/win32/gdkwindow-win32.c (_gdk_window_new)
(_gdk_window_reparent): Rename to adapt to the offscreen rendering
changes. Remove now unnecessary parameter checks as the caller
does that already.

* gtk/gtk.symbols: Add gtk_widget_get_snapshot.

svn path=/trunk/; revision=20130

16 years agoDon't do anything if style doesn't change. Improve debugging output.
Tor Lillqvist [Fri, 23 May 2008 18:25:12 +0000 (18:25 +0000)]
Don't do anything if style doesn't change. Improve debugging output.

2008-05-23  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
anything if style doesn't change. Improve debugging output.

svn path=/trunk/; revision=20129

16 years agoperf/widgets.h tests/print-editor.c tests/prop-editor.h
Michael Natterer [Fri, 23 May 2008 14:55:43 +0000 (14:55 +0000)]
perf/widgets.h tests/print-editor.c tests/prop-editor.h

2008-05-23  Michael Natterer  <mitch@gimp.org>

* perf/widgets.h
* tests/print-editor.c
* tests/prop-editor.h
* tests/testmountoperation.c
* tests/testmultidisplay.c
* tests/testnouiprint.c
* tests/testprint.c
* tests/testprintfileoperation.h
* tests/testtreesort.c
* tests/textbuffertest.c: include <gtk/gtk.h> instead of single
files. Remove some redundant includes.

svn path=/trunk/; revision=20128

16 years agoUpdated Arabic Translation by Khaled Hosny.
Djihed Afifi [Thu, 22 May 2008 22:58:30 +0000 (22:58 +0000)]
Updated Arabic Translation by Khaled Hosny.

svn path=/trunk/; revision=20127

16 years agoRemove second call of GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
Hiroyuki Ikezoe [Wed, 21 May 2008 21:00:10 +0000 (21:00 +0000)]
Remove second call of GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).

2008-05-22  Hiroyuki Ikezoe  <poincare@ikezoe.net>

* gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).

svn path=/trunk/; revision=20126

16 years agoRenamed to adapt to the offscreen rendering changes, fixes build.
Richard Hult [Wed, 21 May 2008 20:48:21 +0000 (20:48 +0000)]
Renamed to adapt to the offscreen rendering changes, fixes build.

2008-05-21  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c:
(_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
offscreen rendering changes, fixes build.

svn path=/trunk/; revision=20125

16 years agoadded GdkRectangle *clip_rect to gtk_widget_get_snapshot().
21:10:15 Tim Janik [Wed, 21 May 2008 19:15:12 +0000 (19:15 +0000)]
added GdkRectangle *clip_rect to gtk_widget_get_snapshot().

2008-05-21 21:10:15  Tim Janik  <timj@imendio.com>

        * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().

        * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
        return snapshot pixmap coordinates widget relative in *clip_rect.

        * tests/testgtk.c: fixed bogus NULL pointer unref.

svn path=/trunk/; revision=20124

16 years agogrow snapshot area from widget's allocation to cover extra widget windows
21:04:28 Tim Janik [Wed, 21 May 2008 19:07:40 +0000 (19:07 +0000)]
grow snapshot area from widget's allocation to cover extra widget windows

2008-05-21 21:04:28  Tim Janik  <timj@imendio.com>

        * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
        widget's allocation to cover extra widget windows placed outside the
        widget allocation (spinbutton arrows are the prime example for this).

svn path=/trunk/; revision=20123

16 years agoBug 318807 – Offscreen windows and window redirection.
10:49:20 Tim Janik [Wed, 21 May 2008 19:04:24 +0000 (19:04 +0000)]
Bug 318807 – Offscreen windows and window redirection.

2008-03-18 10:49:20  Tim Janik  <timj@imendio.com>

* Applied pixmap redirection patch by Alexander Larsson with
various updates from:
Bug 318807 – Offscreen windows and window redirection.

Updates:

* updated docs to mention "Since 2.16".

* tests/testgtk.c: fixed snapshooting pixmap leak.
convert pixmap to pixbuf after snapshooting, to compensate for different
bit depths (occurs when snapshooting ARGB visuals and displaying the
pixmap in an RGB visual).

* gdk/gdkwindow.[hc]: made GdkWindowRedirect private.

* gdk/gdkwindow.c: removed damage idle handler, there's no aparent
need for it. enqueue damage notification as GDK_DAMAGE events
for each painting redirection at the start of the event queue.
consider windows with a redirection fully visible when invalidating,
and when updating from backing store. cleaned up stale variables.

* gdk/gdkevents.c: added _gdk_event_queue_prepend().

* gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
tree, drawingarea, text, handlebox, etc.
clip the redirected window hierarchy to window sizes, the visible
rectangles don't need to be taken into account here.
extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
in case pixmap visuals could mismatch.

* gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().

Base patch:

* tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
of possibly obscured widgets into an offscreen pixmap.

* gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.

* gtk/gtkmain.c: dispatch GDK_DAMAGE events.

* gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
implementations here, adapted them to propagate redirects to child windows.
gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
clipped to visible region. queue GDK_DAMAGE event delivery.
gdk_window_redirect_to_drawable(): install window painting redirection.
gdk_window_remove_redirection(): remove previously installed redirection.

* gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
renamed _gdk_window_new() and _gdk_window_reparent().

* gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().

* gdk/gdkevents.h: added GDK_DAMAGE event type.

* gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.

* gdk/gdkinternals.h: added internal prototypes.

svn path=/trunk/; revision=20122

16 years agogtk/gtkalignment.c gtk/gtkarrow.c gtk/gtkbbox.c gtk/gtkcalendar.c remove
Michael Natterer [Wed, 21 May 2008 11:30:06 +0000 (11:30 +0000)]
gtk/gtkalignment.c gtk/gtkarrow.c gtk/gtkbbox.c gtk/gtkcalendar.c remove

2008-05-21  Michael Natterer  <mitch@imendio.com>

* gtk/gtkalignment.c
* gtk/gtkarrow.c
* gtk/gtkbbox.c
* gtk/gtkcalendar.c
* gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.

svn path=/trunk/; revision=20121

16 years ago RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
Matthias Clasen [Wed, 21 May 2008 02:17:30 +0000 (02:17 +0000)]
    RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
        was chosen

        Patch by Marek Kasik.

        * gtk/gtk.symbols:
        * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.

        * gtk/gtkprintbackend.[hc]: Add fallback implementation.

        * modules/printbackends/file/gtkprintbackendfile.c:
        * modules/printbackends/cups/gtkprintbackendcups.c: Implement
        get_default_page_size.

        * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
        select its default paper size.

        * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
        use the printer default.

        * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
        if we don't have a default page setup.

svn path=/trunk/; revision=20120

16 years agoFix the docs, the mask param of gtk_drag_set_icon_pixmap can accept NULL for none...
Gian Mario Tagliaretti [Tue, 20 May 2008 17:43:01 +0000 (17:43 +0000)]
Fix the docs, the mask param of gtk_drag_set_icon_pixmap can accept NULL for none. Fixes bug #533920.

svn path=/trunk/; revision=20119

16 years agoRemove two chunks of duplicated code (#533733).
Björn Lindqvist [Tue, 20 May 2008 17:29:34 +0000 (17:29 +0000)]
Remove two chunks of duplicated code (#533733).

2008-05-20  Björn Lindqvist  <bjourne@gmail.com>

* gtk/gtkspinbutton.c: (gtk_spin_button_snap,
gtk_spin_button_update): Remove two chunks of duplicated
code (#533733).

svn path=/trunk/; revision=20118

16 years agoFix a typo
Matthias Clasen [Tue, 20 May 2008 16:34:38 +0000 (16:34 +0000)]
Fix a typo

svn path=/trunk/; revision=20117

16 years agoBug 503071 - Application direction changes to right to left even if theres
14:27:34 Tim Janik [Tue, 20 May 2008 13:03:41 +0000 (13:03 +0000)]
Bug 503071 - Application direction changes to right to left even if theres

2008-05-20 14:27:34  Tim Janik  <timj@imendio.com>

        * reverted recent unapproved changes by Yair Hershkovitz, regarding:
        Bug 503071 - Application direction changes to right to left even if theres no translation.

svn path=/trunk/; revision=20116

16 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Tue, 20 May 2008 09:40:58 +0000 (09:40 +0000)]
Translation updated by Tino Meinen.

2008-05-20  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

svn path=/trunk/; revision=20115

16 years agoUse SetSystemUIMode instead of hiding and showing the menubar.
Richard Hult [Mon, 19 May 2008 20:56:51 +0000 (20:56 +0000)]
Use SetSystemUIMode instead of hiding and showing the menubar.

2008-05-19  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
(gdk_window_fullscreen), (gdk_window_unfullscreen): Use
SetSystemUIMode instead of hiding and showing the menubar.

svn path=/trunk/; revision=20114

16 years agobgo322298 - Make the file chooser dialog always resizable
Federico Mena Quintero [Mon, 19 May 2008 17:25:19 +0000 (17:25 +0000)]
bgo322298 - Make the file chooser dialog always resizable
2008-05-19  Federico Mena Quintero  <federico@novell.com>

http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
can't be resized until you expand the "Browse for other folders"
section.

* gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
Removed the "get_resizable" method.
(_gtk_file_chooser_embed_get_resizable): Removed.

* gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.

* gtk/gtkfilechooserdefault.c: Likewise.

* gtk/gtkfilechooserdialog.c
(file_chooser_widget_default_size_changed): Act as if the dialog
were always resizable.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=20113

16 years agogtk/gtkcellrenderer.c gtk/gtkcellrendererpixbuf.c
Michael Natterer [Mon, 19 May 2008 14:15:34 +0000 (14:15 +0000)]
gtk/gtkcellrenderer.c gtk/gtkcellrendererpixbuf.c

2008-05-19  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcellrenderer.c
* gtk/gtkcellrendererpixbuf.c
* gtk/gtkcellrenderertoggle.c
* gtk/gtkimagemenuitem.c
* gtk/gtkmenutoolbutton.c
* gtk/gtkoptionmenu.c
* gtk/gtkstatusbar.c
* gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.

svn path=/trunk/; revision=20112

16 years agoUpdated Arabic Translation by Khaled Hosny.
Djihed Afifi [Mon, 19 May 2008 01:12:38 +0000 (01:12 +0000)]
Updated Arabic Translation by Khaled Hosny.

svn path=/trunk/; revision=20111

16 years agoUpdated Arabic Translation by Khaled Hosny.
Djihed Afifi [Mon, 19 May 2008 01:03:04 +0000 (01:03 +0000)]
Updated Arabic Translation by Khaled Hosny.

svn path=/trunk/; revision=20110

16 years agogtk_disable_setlocale() - Added a call to g_disable_setlocale().
Yair Hershkovitz [Sat, 17 May 2008 09:22:12 +0000 (09:22 +0000)]
gtk_disable_setlocale() - Added a call to g_disable_setlocale().

2008-05-17  Yair Hershkovitz  <yairhr@gmail.com>

        * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
        g_disable_setlocale().

svn path=/trunk/; revision=20109

16 years agoUse gdk_threads_add_idle instead of g_idle_add. Add a temporary check if
Richard Hult [Sat, 17 May 2008 07:26:41 +0000 (07:26 +0000)]
Use gdk_threads_add_idle instead of g_idle_add. Add a temporary check if

2008-05-17  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_impl_quartz_invalidate_maybe_recurse):
(gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
of g_idle_add. Add a temporary check if the window is already in
the updates list, since update_area currently doesn't always match
the backend's state, see bug #530801.

svn path=/trunk/; revision=20108

16 years agogtk_disable_setlocale() - Added a call to g_disable_setlocale().
Yair Hershkovitz [Fri, 16 May 2008 22:57:37 +0000 (22:57 +0000)]
gtk_disable_setlocale() - Added a call to g_disable_setlocale().

2008-05-17  Yair Hershkovitz  <yairhr@gmail.com>

* gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
g_disable_setlocale().

svn path=/trunk/; revision=20107

16 years agoStyle
Tor Lillqvist [Tue, 13 May 2008 08:50:48 +0000 (08:50 +0000)]
Style

svn path=/trunk/; revision=20105

16 years agoBug 496958 - Wacom Bamboo Doesn't Function with GTK apps in Win32
Tor Lillqvist [Tue, 13 May 2008 08:49:51 +0000 (08:49 +0000)]
Bug 496958 - Wacom Bamboo Doesn't Function with GTK apps in Win32

2008-05-13  Tor Lillqvist  <tml@novell.com>

Bug 496958 - Wacom Bamboo Doesn't Function with GTK apps in Win32

* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
the "packet rate" of devices to zero instead of 50. This is
reported to help significantly with Wacom tablet behaviour in GIMP
and Inkscape. Patch from Thomas Bleeker.

svn path=/trunk/; revision=20104

16 years agoForgotten in previous commit.
Richard Hult [Mon, 12 May 2008 11:34:23 +0000 (11:34 +0000)]
Forgotten in previous commit.

svn path=/trunk/; revision=20101

16 years agoRemove special casing of menu key events as it's no longer necessary;
Richard Hult [Mon, 12 May 2008 11:23:28 +0000 (11:23 +0000)]
Remove special casing of menu key events as it's no longer necessary;

2008-05-12  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c:
* gdk/quartz/gdkquartz.h: Remove special casing of menu key events
as it's no longer necessary; instead the added quartz API to get
the nsevent from an event should be used. Also move the global
filter up so it's done before the check for window-less events.

svn path=/trunk/; revision=20100

16 years agoBug 532558 - Cannot build dll when using separate builddir
Tor Lillqvist [Mon, 12 May 2008 08:49:08 +0000 (08:49 +0000)]
Bug 532558 - Cannot build dll when using separate builddir

2008-05-12  Tor Lillqvist  <tml@novell.com>

Bug 532558 - Cannot build dll when using separate builddir

* gdk/Makefile.am
* gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
Lindqvist.

svn path=/trunk/; revision=20097

16 years agoBug 532558 - Cannot build dll when using separate builddir
Tor Lillqvist [Mon, 12 May 2008 08:46:27 +0000 (08:46 +0000)]
Bug 532558 - Cannot build dll when using separate builddir

2008-05-12  Tor Lillqvist  <tml@novell.com>

Bug 532558 - Cannot build dll when using separate builddir

* Makefile.am: .def file belongs in $(srcdir). Patch by Marko
Lindqvist.

svn path=/trunk/; revision=20096

16 years agog_i18n_init(); -> g_i18n_init ();
Yair Hershkovitz [Mon, 12 May 2008 07:59:00 +0000 (07:59 +0000)]
g_i18n_init(); -> g_i18n_init ();

2008-05-12  Yair Hershkovitz  <yairhr@gmail.com>

        * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();

svn path=/trunk/; revision=20095

16 years agoBug 532059 - Leak in win32 clipboard manipulation
Tor Lillqvist [Mon, 12 May 2008 07:05:40 +0000 (07:05 +0000)]
Bug 532059 - Leak in win32 clipboard manipulation

2008-05-12  Tor Lillqvist  <tml@novell.com>

Bug 532059 - Leak in win32 clipboard manipulation

* gdk/win32/gdkselection-win32.c
(gdk_win32_selection_add_targets): Plug memory leak. Patch by
Daniel Atallah.

svn path=/trunk/; revision=20092

16 years agocall g_i18n_init() in gettext_initialization(). do gettext_initialization
Yair Hershkovitz [Sun, 11 May 2008 09:49:30 +0000 (09:49 +0000)]
call g_i18n_init() in gettext_initialization(). do gettext_initialization

2008-05-11  Yair Hershkovitz  <yairhr@gmail.com>

        * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
        gettext_initialization only once.

        *  gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
        duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
        with the extended functionality that was in the removed dpgettext().

        * gtk/gtkaccellabelc:
        * gtk/gtkstock.c:
        * gtk/gtkimmulticontext.c:
        * gtk/gtkactiongroup.c:
        * gtk/gtkintl.h: use glib i18n api.

svn path=/trunk/; revision=20091

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 10 May 2008 13:15:35 +0000 (13:15 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=20090

16 years agoTranslation updated by Ivar Smolin
Priit Laes [Sat, 10 May 2008 08:39:54 +0000 (08:39 +0000)]
Translation updated by Ivar Smolin

2008-05-10  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=20089

16 years agoMove the currently invalidated region. Fixes bug #532048, patch by Yevgen
Richard Hult [Thu, 8 May 2008 17:51:03 +0000 (17:51 +0000)]
Move the currently invalidated region. Fixes bug #532048, patch by Yevgen

2008-05-08  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
currently invalidated region. Fixes bug #532048, patch by Yevgen
Muntyan.

svn path=/trunk/; revision=20087

16 years agoOnly set the fake fd's revents, not the first one. Fixes bug #531056,
Richard Hult [Thu, 8 May 2008 17:23:08 +0000 (17:23 +0000)]
Only set the fake fd's revents, not the first one. Fixes bug #531056,

2008-05-08  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
fd's revents, not the first one. Fixes bug #531056, spotted by
Yevgen Muntyan.

svn path=/trunk/; revision=20086

16 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Thu, 8 May 2008 15:13:16 +0000 (15:13 +0000)]
Translation updated by Tino Meinen.

2008-05-08  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

svn path=/trunk/; revision=20085

16 years agoupdated Kannada(kn) Translations
Shankar Prasad [Thu, 8 May 2008 10:21:45 +0000 (10:21 +0000)]
updated Kannada(kn) Translations

svn path=/trunk/; revision=20084

16 years agoupdated Kannada(kn) Translations
Shankar Prasad [Thu, 8 May 2008 10:14:17 +0000 (10:14 +0000)]
updated Kannada(kn) Translations

svn path=/trunk/; revision=20083

16 years agoAdd gtk-update-icon-cache.exe and more man pages to the dev zipfile.
Tor Lillqvist [Wed, 7 May 2008 09:01:16 +0000 (09:01 +0000)]
Add gtk-update-icon-cache.exe and more man pages to the dev zipfile.

2008-05-07  Tor Lillqvist  <tml@novell.com>

* gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
to the dev zipfile.

svn path=/trunk/; revision=20082

16 years agoForgotten files
Matthias Clasen [Tue, 6 May 2008 22:47:40 +0000 (22:47 +0000)]
Forgotten files

svn path=/trunk/; revision=20080

16 years agogdk/gdkinternals.h gdk/gdkevents.c gdk/directfb/gdkevents-directfb.c
Michael Natterer [Tue, 6 May 2008 22:35:13 +0000 (22:35 +0000)]
gdk/gdkinternals.h gdk/gdkevents.c gdk/directfb/gdkevents-directfb.c

2008-05-07  Michael Natterer  <mitch@imendio.com>

* gdk/gdkinternals.h
* gdk/gdkevents.c
* gdk/directfb/gdkevents-directfb.c
* gdk/quartz/gdkevents-quartz.c
* gdk/win32/gdkevents-win32.c
* gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
order parameters src,dest and make src const.

svn path=/trunk/; revision=20079

16 years agoAdd private backend data to events, and handle it when copying/freeing
Richard Hult [Tue, 6 May 2008 21:00:06 +0000 (21:00 +0000)]
Add private backend data to events, and handle it when copying/freeing

2008-05-06  Richard Hult  <richard@imendio.com>

* gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
* gdk/gdkinternals.h: Add private backend data to events, and
handle it when copying/freeing events. Currently only needed in
the quartz backend.

* gdk/directfb/gdkevents-directfb.c:
* gdk/quartz/gdkevents-quartz.c:
* gdk/win32/gdkevents-win32.c:
* gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
(_gdk_windowing_event_data_free): Add stubs for X11, win32 and
directfb. Implement for quartz. Part of fixing bug #473822.

svn path=/trunk/; revision=20078

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Tue, 6 May 2008 15:51:26 +0000 (15:51 +0000)]
Updated Norwegian bokmål translation.

2008-05-06  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=20077

16 years agoApply a patch by Marek Kasik <mkasik@redhat.com> to display more printer
Matthias Clasen [Mon, 5 May 2008 23:38:31 +0000 (23:38 +0000)]
Apply a patch by Marek Kasik <mkasik@redhat.com> to display more printer

2008-05-05  Matthias Clasen  <mclasen@redhat.com>

        Apply a patch by Marek Kasik <mkasik@redhat.com> to display
        more printer status information in the print dialog.

        * modules/printbackends/cups/gtkprintbackendcups.c: Translate
        printer-state-reasons into suitable messages and icons.

        * gtk/stock-icons/16/gtk-print-error.{svg,png}:
        * gtk/stock-icons/16/gtk-print-report.{svg,png}:
        * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
        * gtk/Makefile.am:
        * gtk/gtkstock.h: New stock icons to display printer state.

svn path=/trunk/; revision=20076

16 years agoInitalize framework if there is one.
Richard Hult [Mon, 5 May 2008 18:14:27 +0000 (18:14 +0000)]
Initalize framework if there is one.

2008-05-05  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
framework if there is one.

svn path=/trunk/; revision=20075

16 years agogtk/gtkcellrenderercombo.h gtk/gtkcellrendererspin.h style cleanups for
Michael Natterer [Mon, 5 May 2008 13:40:29 +0000 (13:40 +0000)]
gtk/gtkcellrenderercombo.h gtk/gtkcellrendererspin.h style cleanups for

2008-05-05  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcellrenderercombo.h
* gtk/gtkcellrendererspin.h
* gtk/gtkfilechooserbutton.h: style cleanups for the sake of
consistency.

* gtk/gtkfilechooserdialog.h
* gtk/gtkfilechooserwidget.h
* gtk/gtkscalebutton.h: reorder instance and class structs to be
in canonical order.

svn path=/trunk/; revision=20074

16 years agoCheck if gdk_unicode_to_keyval() worked before using the result. Makes
Richard Hult [Sun, 4 May 2008 15:15:00 +0000 (15:15 +0000)]
Check if gdk_unicode_to_keyval() worked before using the result. Makes

2008-05-04  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
gdk_unicode_to_keyval() worked before using the result. Makes
function keys work, bug #530156. Also add F16 to the function key
map.

svn path=/trunk/; revision=20071

16 years agoRemove stray semicolon after if statement. Fixes bug #530963, patch from
Richard Hult [Sun, 4 May 2008 15:07:18 +0000 (15:07 +0000)]
Remove stray semicolon after if statement. Fixes bug #530963, patch from

2008-05-04  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
semicolon after if statement. Fixes bug #530963, patch from Yevgen
Muntyan.

svn path=/trunk/; revision=20069

16 years agoadd 15 files that were missing (they all got included indirectly by
Michael Natterer [Fri, 2 May 2008 15:03:12 +0000 (15:03 +0000)]
add 15 files that were missing (they all got included indirectly by

2008-05-02  Michael Natterer  <mitch@imendio.com>

* gtk/gtk.h: add 15 files that were missing (they all got included
indirectly by including gtk.h, so should have been here in the
first place).

svn path=/trunk/; revision=20068

16 years agodeprecate the entire gdk-pixbuf-marshal.h since it's installed by accident
Michael Natterer [Fri, 2 May 2008 14:23:12 +0000 (14:23 +0000)]
deprecate the entire gdk-pixbuf-marshal.h since it's installed by accident

2008-05-02  Michael Natterer  <mitch@imendio.com>

* Makefile.am (stamp-gdk-pixbuf-marshal.h): deprecate the entire
gdk-pixbuf-marshal.h since it's installed by accident only and
shouldn't be used by anybody.

svn path=/trunk/; revision=20067