]> Pileus Git - ~andy/gtk/log
~andy/gtk
14 years agoUpdate for 2.17.3
Matthias Clasen [Fri, 3 Jul 2009 05:32:46 +0000 (01:32 -0400)]
Update for 2.17.3

14 years agoUpdated German translation.
Hendrik Richter [Fri, 3 Jul 2009 06:20:49 +0000 (08:20 +0200)]
Updated German translation.

14 years agoMake stock buttons have mnemonics again
Matthias Clasen [Wed, 1 Jul 2009 19:11:03 +0000 (15:11 -0400)]
Make stock buttons have mnemonics again

We used to treat stock buttons as having an implicit use-underline.
A recent but fix lost that.

14 years agoAdd a testcase for use-stock/use-underline in buttons
Matthias Clasen [Wed, 1 Jul 2009 19:04:31 +0000 (15:04 -0400)]
Add a testcase for use-stock/use-underline in buttons

The fix for bug 586330 caused some unexpected behaviour changes, that
this testcase ought to illustrate.

14 years agofix wrap width calculations that caused item height to be wrong
Cody Russell [Wed, 1 Jul 2009 18:17:51 +0000 (13:17 -0500)]
fix wrap width calculations that caused item height to be wrong

Fix by logari81 to the wrap width calculations fir GtkIconView. #490724

14 years agoMake GdkDrawable draw_drawable backwards compat
Alexander Larsson [Wed, 1 Jul 2009 17:50:49 +0000 (19:50 +0200)]
Make GdkDrawable draw_drawable backwards compat

Turns out pygtk build broke due to the argument addition to draw_drawable.
So, we now add a new vfunc for the new draw_drawable and are thus
backwards compat.

14 years agoMerge branch 'client-side-windows'
Alexander Larsson [Wed, 1 Jul 2009 14:15:03 +0000 (16:15 +0200)]
Merge branch 'client-side-windows'

14 years agoMove new draw_drawable argument to end to make it more backwards compat
Alexander Larsson [Wed, 1 Jul 2009 14:13:31 +0000 (16:13 +0200)]
Move new draw_drawable argument to end to make it more backwards compat

14 years agoClean up embedding api
Alexander Larsson [Wed, 1 Jul 2009 12:36:36 +0000 (14:36 +0200)]
Clean up embedding api

we now use gdk_offscreen_window_set_embedder() instead of a signal
to get the parent. This also replaces set_has_offscreen_changes.

Rename "parent" in all embedding related names to "embedder" to make it
more obviously different than the normal parent.

Rename gdk_window_get_offscreen_pixmap to gdk_offscreen_window_get_pixmap
to match the other offscreen calls.

Rename gdk_window_offscreen_children_changed to gdk_window_geometry_changed
as this is more descriptive.

14 years agoRemove debug spew, add TODO_CSW
Alexander Larsson [Wed, 1 Jul 2009 11:33:45 +0000 (13:33 +0200)]
Remove debug spew, add TODO_CSW

14 years agogdk_win32_blit, don't get the size of the impl
Alexander Larsson [Wed, 1 Jul 2009 11:33:06 +0000 (13:33 +0200)]
gdk_win32_blit, don't get the size of the impl

14 years agoSome win32 cleanups
Alexander Larsson [Wed, 1 Jul 2009 10:06:57 +0000 (12:06 +0200)]
Some win32 cleanups

14 years agoFix win32 GC set_region handling of reset_region
Alexander Larsson [Wed, 1 Jul 2009 10:06:04 +0000 (12:06 +0200)]
Fix win32 GC set_region handling of reset_region

14 years agoclean up code in gtk_list_store_set_n_columns()
Benjamin Otte [Tue, 30 Jun 2009 11:22:51 +0000 (13:22 +0200)]
clean up code in gtk_list_store_set_n_columns()

Previous code's messiness noted by Francisco Javier Taboada Aguado
in http://mail.gnome.org/archives/gtk-devel-list/2009-June/msg00001.html

14 years agoMake win32 backend build and minimally work
Alexander Larsson [Wed, 1 Jul 2009 08:26:37 +0000 (10:26 +0200)]
Make win32 backend build and minimally work

14 years agoDon't use GDK_WINDOW_SCREEN, as its an X11 specific macro
Alexander Larsson [Wed, 1 Jul 2009 08:23:29 +0000 (10:23 +0200)]
Don't use GDK_WINDOW_SCREEN, as its an X11 specific macro

14 years agoDon't return value from void function
Alexander Larsson [Wed, 1 Jul 2009 08:11:15 +0000 (10:11 +0200)]
Don't return value from void function

This fixes the previous commit where the return value was removed.

14 years agopo/vi.po: updated Vietnamese translation
Nguyễn Thái Ngọc Duy [Wed, 1 Jul 2009 04:15:19 +0000 (14:15 +1000)]
po/vi.po: updated Vietnamese translation

14 years agoAdd missing symbols to gdk.symbols
Alexander Larsson [Tue, 30 Jun 2009 10:40:51 +0000 (12:40 +0200)]
Add missing symbols to gdk.symbols

14 years agoAdd gdk_window_get_root_coords to gdk.symbols
Alexander Larsson [Tue, 30 Jun 2009 08:55:06 +0000 (10:55 +0200)]
Add gdk_window_get_root_coords to gdk.symbols

14 years agoMove destroyed check to common code for get_origin & get_root_coords
Alexander Larsson [Tue, 30 Jun 2009 07:30:53 +0000 (09:30 +0200)]
Move destroyed check to common code for get_origin & get_root_coords

Also remove weird return value from get_root_coords

14 years agoImprove printing example
Matthias Clasen [Sun, 28 Jun 2009 20:58:00 +0000 (16:58 -0400)]
Improve printing example

Handle Documents folder being NULL, and handle output formats.

14 years agoImprove handling of print-to-file uri
Matthias Clasen [Sun, 28 Jun 2009 20:14:21 +0000 (16:14 -0400)]
Improve handling of print-to-file uri

Going from print-to-file to a real printer and back used to nuke
an app-provided uri; now we keep the initial settings around to
avoid that.  Fixes bug 587086.

14 years agoWhitespace cleanups
Matthias Clasen [Sun, 28 Jun 2009 20:13:33 +0000 (16:13 -0400)]
Whitespace cleanups

14 years agoUpdated Spanish translation
Jorge Gonzalez [Sat, 27 Jun 2009 12:57:54 +0000 (14:57 +0200)]
Updated Spanish translation

14 years agomake the size column resizable
Benjamin Otte [Mon, 22 Jun 2009 19:51:19 +0000 (21:51 +0200)]
make the size column resizable

14 years agomake sure the "Create folder" button doesn't get shown accidentally
Benjamin Otte [Thu, 25 Jun 2009 13:50:55 +0000 (15:50 +0200)]
make sure the "Create folder" button doesn't get shown accidentally

Switching to search or recent files mode and back to browse mode made
the button visible previously

14 years agocheck for allowed NULL inside g_return_if_fail() statements
Benjamin Otte [Tue, 23 Jun 2009 07:26:23 +0000 (09:26 +0200)]
check for allowed NULL inside g_return_if_fail() statements

This patch replaces

if (foo != NULL)
  g_return_if_fail (GTK_IS_FOO (foo));

with

g_return_if_fail (foo == NULL || GTK_IS_FOO (foo));

14 years agoclarify the init value for the default sort column id
Benjamin Otte [Sun, 21 Jun 2009 20:35:15 +0000 (22:35 +0200)]
clarify the init value for the default sort column id

The patch is basically s/-2/GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID/

14 years agounconditionally set right alignment for the size column
Benjamin Otte [Thu, 18 Jun 2009 19:10:33 +0000 (21:10 +0200)]
unconditionally set right alignment for the size column

14 years agoremove unused variables
Benjamin Otte [Wed, 17 Jun 2009 13:17:04 +0000 (15:17 +0200)]
remove unused variables

14 years agoDon't hide foreign children when emulating visibility
Alexander Larsson [Fri, 26 Jun 2009 18:11:57 +0000 (20:11 +0200)]
Don't hide foreign children when emulating visibility

We emulate visibility by unmapping (in X) all mapped (according to
gdk) windows that are not visible (all parents mapped). This is because
there may be client side windows inbetween the native windows in the
hierarchy, so you can't know a native window is visible just because
all the parent native windows are mapped.

However, we don't want to unmap foreign windows, as that may cause all
sort of unexpected issues. This should be safe, because generally the
parent of a foreign window is a native window (e.g. a socket), so its
gdk visibility state is the same as the Xserver one.

This fixes an issue with the GDM notification area where the unmap of
the plug caused spurious UnmapNotify events that confused GtkSocket and
caused icons to become one pixel wide.

14 years agoBetter implementation of native clear_area
Alexander Larsson [Fri, 26 Jun 2009 15:07:24 +0000 (17:07 +0200)]
Better implementation of native clear_area

Last commit was bad, as it didn't clip against client side
children. This implements such clipping first and then
only clears the rectangles that need to be cleared.

14 years agoImplement gdk_window_clear_area natively for foreign windows
Alexander Larsson [Fri, 26 Jun 2009 13:45:53 +0000 (15:45 +0200)]
Implement gdk_window_clear_area natively for foreign windows

This fixes a redraw issue with the notification area in xfce4.

14 years agoClip cairo drawing against client-side child windows
Alexander Larsson [Fri, 26 Jun 2009 12:20:05 +0000 (14:20 +0200)]
Clip cairo drawing against client-side child windows

This is how cairo works with native children.
This fixes an issue where the drag target outline is visible on the
evolution folder treeview when it isn't with native windows.

14 years agoBug 586691 – Better GtkInfoBar defaults
David Zeuthen [Mon, 22 Jun 2009 21:22:23 +0000 (17:22 -0400)]
Bug 586691 – Better GtkInfoBar defaults

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoUpdating Estonian translation
Ivar Smolin [Thu, 25 Jun 2009 16:29:22 +0000 (19:29 +0300)]
Updating Estonian translation

14 years agoEnsure that we always calculate clip regions for root windows
Alexander Larsson [Thu, 25 Jun 2009 14:59:18 +0000 (16:59 +0200)]
Ensure that we always calculate clip regions for root windows

Without this we can't draw to them, which caused problems for e.g.
gnome-settings-daemon clearing the background when the desktop
background changed.

Note: We don't actually clip away child windows from the root window,
the clip is just based on the size of the root window.

14 years agoFix g_signal_emit calls
Alexander Larsson [Thu, 25 Jun 2009 14:57:13 +0000 (16:57 +0200)]
Fix g_signal_emit calls

The switch to g_signal_emit was all messed up, I forgot to add signals[]
around the signal enum and did not pass in the detail quark.

14 years agoFix warning about uninitialized variable plus spacing and indentation cleanup
Michael Natterer [Thu, 25 Jun 2009 11:30:15 +0000 (13:30 +0200)]
Fix warning about uninitialized variable plus spacing and indentation cleanup

14 years agoDemo setting an output name for print to file
Matthias Clasen [Thu, 25 Jun 2009 05:23:50 +0000 (01:23 -0400)]
Demo setting an output name for print to file

It turns out that no application is doing this, since it is not
obvious. Adding a demo here is at least a start.

14 years agoFix typos
Alexander Larsson [Wed, 24 Jun 2009 18:59:29 +0000 (20:59 +0200)]
Fix typos

14 years agoFactor out common code to sync_native_window_stack_position
Alexander Larsson [Wed, 24 Jun 2009 18:56:05 +0000 (20:56 +0200)]
Factor out common code to sync_native_window_stack_position

14 years agoRemove old obsolete comment
Alexander Larsson [Wed, 24 Jun 2009 18:35:15 +0000 (20:35 +0200)]
Remove old obsolete comment

14 years agoUse g_signal_emit instead of g_signal_emit_by_name when possible
Alexander Larsson [Wed, 24 Jun 2009 18:33:13 +0000 (20:33 +0200)]
Use g_signal_emit instead of g_signal_emit_by_name when possible

14 years agoRename accumulate_get_parent to accumulate_get_window
Alexander Larsson [Wed, 24 Jun 2009 18:25:40 +0000 (20:25 +0200)]
Rename accumulate_get_parent to accumulate_get_window

This function is used in several places, not just get_parent

14 years agoSimplify _gdk_display_get_last_pointer_grab using g_list_last
Alexander Larsson [Wed, 24 Jun 2009 18:20:33 +0000 (20:20 +0200)]
Simplify _gdk_display_get_last_pointer_grab using g_list_last

14 years agoAdd a way to turn off toggle spacing in menus
Matthias Clasen [Wed, 24 Jun 2009 05:01:51 +0000 (01:01 -0400)]
Add a way to turn off toggle spacing in menus

Reserving toggle space is nice for consistency in main menus
and context menus, but it gets in the way in special situations,
such as combo boxes, tabular menus, etc.

14 years agoUpdated Brazilian Portuguese translation
Marco Túlio Gontijo e Silva [Mon, 22 Jun 2009 13:18:44 +0000 (10:18 -0300)]
Updated Brazilian Portuguese translation

14 years agobgo#529908 - Sanitize handling of motion events in GtkNotebook
Stanislav Brabec [Tue, 23 Jun 2009 19:05:32 +0000 (14:05 -0500)]
bgo#529908 - Sanitize handling of motion events in GtkNotebook

GtkNotebook used gdk_window_get_pointer() incorrectly, as it already
had coordinates from various GdkEvents.  Using get_pointer() means
that you get pointer positions *after* the event has happened, which
leads to visual out-of-sync results, or inadvertently detached tabs if
you click on them while your machine is being slow.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
14 years agoBug 461944 – pressing the volume icon in full screen shuts down the sound
Bastien Nocera [Mon, 22 Jun 2009 16:19:21 +0000 (17:19 +0100)]
Bug 461944 – pressing the volume icon in full screen shuts down the sound

Don't pass the click on the button through to the scale when the
dock popup will be moved, otherwise we could end up changing the
sound in unexcepted ways (to zero for vertical popups at the bottom
of the screen for example).

14 years agoAccelerators failed for submenus (GNOME bug 582025)
Tristan Van Berkom [Thu, 18 Jun 2009 19:46:02 +0000 (15:46 -0400)]
Accelerators failed for submenus (GNOME bug 582025)

gtk/gtkmenuitem.c: Override custom_tag_finished() for "accelerator" and search
the correct toplevel GtkWindow to attach accelerators to menu items.

gtk/gtkwidget.[ch]: Added _gtk_widget_buildable_finish_accelerator() to allow
subclasses to specify a toplevel window to associate with when parsing <accelerator>
tags

14 years agoForgotten header file
Matthias Clasen [Mon, 22 Jun 2009 15:46:03 +0000 (11:46 -0400)]
Forgotten header file

14 years agoDon't force toggle size for tabular menus either
Matthias Clasen [Mon, 22 Jun 2009 14:00:19 +0000 (10:00 -0400)]
Don't force toggle size for tabular menus either

14 years agoRemove extra padding from comboboxes
Matthias Clasen [Mon, 22 Jun 2009 04:53:14 +0000 (00:53 -0400)]
Remove extra padding from comboboxes

We do want to have consistent padding in menus in menubars and context
menus, but the menus used in comboboxes don't need the extra padding.
Add private GtkMenu API for turning this off. Bug 564063

14 years agoFix 'Add to bookmarks' initial sensitivity
Matthias Clasen [Mon, 22 Jun 2009 03:30:27 +0000 (23:30 -0400)]
Fix 'Add to bookmarks' initial sensitivity

Make sure that we always call bookmarks_check_add_sensitivity() at
least once before popping up a newly created menu. Fixes bug 585858.

14 years agoUpdated Spanish translation
Jorge Gonzalez [Sun, 21 Jun 2009 08:54:57 +0000 (10:54 +0200)]
Updated Spanish translation

14 years agoUpdate some links in the tutorial
Matthias Clasen [Sun, 21 Jun 2009 00:51:37 +0000 (20:51 -0400)]
Update some links in the tutorial

This fixes bug 585953.

14 years agoReduce roundtrips
Matthias Clasen [Sat, 20 Jun 2009 17:54:33 +0000 (13:54 -0400)]
Reduce roundtrips

Setting a tooltip on a widget unfortunately triggers several roundtrips
to the X server. We reduce this overhead by only doing it if the
widget is visible, and by deferring to an idle. See bug 585626.

14 years agoAdd a title property to GtkStatusIcon
Matthias Clasen [Sat, 20 Jun 2009 17:53:32 +0000 (13:53 -0400)]
Add a title property to GtkStatusIcon

This can be used to give ATs a string to display for tray icons.
See bug 585802.

14 years agoUpdate _gdk_windowing_pointer_grab
Richard Hult [Sat, 20 Jun 2009 09:37:05 +0000 (11:37 +0200)]
Update _gdk_windowing_pointer_grab

14 years agoRemove duplicate definition of GdkInputWindow
Richard Hult [Sat, 20 Jun 2009 09:20:03 +0000 (11:20 +0200)]
Remove duplicate definition of GdkInputWindow

14 years agoUpdate gdk_window_quartz_show, ..._get_origin, ..._get_pointer
Richard Hult [Sat, 20 Jun 2009 09:17:15 +0000 (11:17 +0200)]
Update gdk_window_quartz_show, ..._get_origin, ..._get_pointer

14 years agoRename gdk_window_beep to _gdk_windowing_window_beep
Richard Hult [Sat, 20 Jun 2009 08:31:53 +0000 (10:31 +0200)]
Rename gdk_window_beep to _gdk_windowing_window_beep

14 years agoCorrect a couple of typos
Matthias Clasen [Fri, 19 Jun 2009 13:14:18 +0000 (09:14 -0400)]
Correct a couple of typos

14 years agobgo#586315 - gtk_file_chooser_list_shortcut_folders() was crashing
Federico Mena Quintero [Fri, 19 Jun 2009 02:29:54 +0000 (21:29 -0500)]
bgo#586315 - gtk_file_chooser_list_shortcut_folders() was crashing

The virtual method list_shortcut_folders returns a GSList * of GFile *.
In turn, gtk_file_chooser_list_shortcut_folders() converts those to strings.

However, the delegate in gtkfilechooserutils.c was calling
gtk_file_chooser_list_shortcut_folders() every time, so we were trying
to convert invalid data.

Now we have an internal function that deals with GFile *.  That
function is called by the delegate, and the conversion is done only
once by the API entry points.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
14 years agoFix an oversight in mnemonic handling
Matthias Clasen [Fri, 19 Jun 2009 02:08:31 +0000 (22:08 -0400)]
Fix an oversight in mnemonic handling

In some situations, GtkButton would ignore the use-underline
property. This was reported in bug 586330.

14 years agoShow the size column by default in the file chooser
Federico Mena Quintero [Fri, 19 Jun 2009 00:48:38 +0000 (19:48 -0500)]
Show the size column by default in the file chooser

Signed-off-by: Federico Mena Quintero <federico@novell.com>
14 years agoUse g_mapped_file_unref()
Ryan Lortie [Thu, 18 Jun 2009 19:11:57 +0000 (15:11 -0400)]
Use g_mapped_file_unref()

  - drop deprecated use of g_mapped_file_free()
  - bump glib version requirement

14 years agoFix spelling of synthesize
Alexander Larsson [Thu, 18 Jun 2009 18:58:13 +0000 (20:58 +0200)]
Fix spelling of synthesize

15 years agoDon't set the sort column when there is no model
Federico Mena Quintero [Thu, 18 Jun 2009 01:33:57 +0000 (20:33 -0500)]
Don't set the sort column when there is no model

We can't set the sort column when we load the GtkFileChooser's settings, as the
file models may not have been created yet.  Wait until the models are actually
present; then we can set the sort column.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
15 years agoMerge branch 'master' into client-side-windows
Alexander Larsson [Wed, 17 Jun 2009 10:56:05 +0000 (12:56 +0200)]
Merge branch 'master' into client-side-windows

This updates client-side-windows to the the latest soname
change for easier testing.

Conflicts:
gdk/x11/gdkwindow-x11.c
tests/Makefile.am

15 years agofix compile warnings
Benjamin Otte [Wed, 17 Jun 2009 08:28:03 +0000 (10:28 +0200)]
fix compile warnings

Fallout from running make CFLAGS="-Werror"; mostly missing casts and
constness issues.

15 years agoDon't reset window hints when showing multiple times
Alexander Larsson [Tue, 16 Jun 2009 19:34:37 +0000 (21:34 +0200)]
Don't reset window hints when showing multiple times

gdk_window_show() should only set the initial hints on the first
run, not if the window is already mapped when gdk_window_show is
called.

15 years agoUpdated Swedish translation
Daniel Nylander [Tue, 16 Jun 2009 19:04:18 +0000 (21:04 +0200)]
Updated Swedish translation

15 years agoUse g_return_val_if_fail instead of g_return_if_fail
Vincent Untz [Tue, 16 Jun 2009 15:34:10 +0000 (17:34 +0200)]
Use g_return_val_if_fail instead of g_return_if_fail

15 years agoMore uses of the get_cell_renderers functions
Matthias Clasen [Tue, 16 Jun 2009 16:37:33 +0000 (12:37 -0400)]
More uses of the get_cell_renderers functions

15 years agoMore instances of those deprecated functions
Matthias Clasen [Tue, 16 Jun 2009 16:21:36 +0000 (12:21 -0400)]
More instances of those deprecated functions

15 years agoForgot one use in libgail
Matthias Clasen [Tue, 16 Jun 2009 15:48:16 +0000 (11:48 -0400)]
Forgot one use in libgail

15 years agoDon't use deprecated api internally
Matthias Clasen [Tue, 16 Jun 2009 15:27:06 +0000 (11:27 -0400)]
Don't use deprecated api internally

15 years agoBump version to 2.17.3
Matthias Clasen [Tue, 16 Jun 2009 01:48:53 +0000 (21:48 -0400)]
Bump version to 2.17.3

15 years ago2.17.2
Matthias Clasen [Tue, 16 Jun 2009 01:45:40 +0000 (21:45 -0400)]
2.17.2

15 years agoUpdate NEWS
Matthias Clasen [Tue, 16 Jun 2009 00:46:34 +0000 (20:46 -0400)]
Update NEWS

15 years agoAdd missing GtkInfoBar functions to the docs
Matthias Clasen [Tue, 16 Jun 2009 00:07:37 +0000 (20:07 -0400)]
Add missing GtkInfoBar functions to the docs

15 years agoDon't export a private function
Matthias Clasen [Tue, 16 Jun 2009 00:05:49 +0000 (20:05 -0400)]
Don't export a private function

15 years agoFix docs build
Matthias Clasen [Tue, 16 Jun 2009 00:05:24 +0000 (20:05 -0400)]
Fix docs build

15 years agoProperly export gtk_info_bar_response
Matthias Clasen [Tue, 16 Jun 2009 00:04:48 +0000 (20:04 -0400)]
Properly export gtk_info_bar_response

Also fix up its docs.

15 years agoCleanup some translation handling
Matthias Clasen [Mon, 15 Jun 2009 22:04:49 +0000 (18:04 -0400)]
Cleanup some translation handling

Use g_*gettext functions in gdk-pixbuf instead direct gettext
calls to benefit from the maybe-dont-translate functionality
in GLib. Also, replace a hand-rolled version by g_dpgettext2
in gtkbuilderparser.c. Fixes bug 585791.

15 years agoFix the docs for gtk_recent_info_get_application_info()
Matthias Clasen [Mon, 15 Jun 2009 21:22:58 +0000 (17:22 -0400)]
Fix the docs for gtk_recent_info_get_application_info()

The documentation for the function says that the app_exec string
should be freed, but we return a pointer to the internal string
without duplicating it. Since the app_exec string is valid as long
as the GtkRecentInfo is valid the documentation should be fixed
and the out argument should be constified. Fixes #584832.

15 years agoAdd some more font sizes
Matthias Clasen [Mon, 15 Jun 2009 21:19:43 +0000 (17:19 -0400)]
Add some more font sizes

Make 15 and 17 available in the list. See bug 585371

15 years agoDeprecate get_cell_renderers implementations
Matthias Clasen [Mon, 15 Jun 2009 21:11:14 +0000 (17:11 -0400)]
Deprecate get_cell_renderers implementations

These have been superseded by gtk_cell_layout_get_cells.
Fixes bug 562335.

15 years agoTerminate case with break in switch statement
Daniel Elstner [Sat, 13 Jun 2009 23:14:00 +0000 (01:14 +0200)]
Terminate case with break in switch statement

* gtk/gtkstatusicon.c (gtk_status_icon_set_property): Add missing
break statements to unterminated case blocks inside switch.

15 years agoBug 565317 - Resulting image of GtkCellRendererPixbuf depends on order of set properties
Matthias Clasen [Mon, 15 Jun 2009 19:10:34 +0000 (21:10 +0200)]
Bug 565317 - Resulting image of GtkCellRendererPixbuf depends on order of set properties

(gtk_cell_renderer_pixbuf_set_property): add back evil code that makes
sure that the current image is only unset if the new image was created
from the same property or the new property is not NULL.

15 years agobgo#580560 - Make Backspace work in the file chooser to to to the parent directory
Federico Mena Quintero [Mon, 15 Jun 2009 17:37:07 +0000 (12:37 -0500)]
bgo#580560 - Make Backspace work in the file chooser to to to the parent directory

GtkFileChooserDefault actually implements a binding signal for
Backspace, to make it go to the parent directory.  However,
GtkTreeView was eating our Backspace, and thus the file chooser was
not getting a chance to execute its binding signal.

GtkTreeView implements a Backspace binding itself, which it uses to
move to the parent node of the current cursor node.  However, the
binding handler would return TRUE even if there was no parent to the
current node.  Now the binding handler only returns TRUE if it
actually changed the cursor.

Additionally, gtk_tree_view_key_press() sees if no bindings handled a
key press; in that case, it re-sends the key press to the treeview's
search entry.  However, sending a Backspace to an empty entry makes
the entry beep.  Thus, we add a flag that gets set from GtkTreeView's
Backspace binding handler, to tell gtk_tree_view_key_press() when it
should *not* re-emit the key press on the search entry.  Sort of,
"yeah, I didn't handle this key press, but I don't want you to send it
to the search entry, either!".

Signed-off-by: Federico Mena Quintero <federico@novell.com>
15 years agoAdd entry about xdg user dir icons
Matthias Clasen [Mon, 15 Jun 2009 05:50:27 +0000 (01:50 -0400)]
Add entry about xdg user dir icons

15 years agoMerge branch 'button-box-orientable-584598'
Davyd Madeley [Mon, 15 Jun 2009 01:48:14 +0000 (09:48 +0800)]
Merge branch 'button-box-orientable-584598'

15 years agoSupport GtkOrientable for GtkButtonBox
Davyd Madeley [Tue, 2 Jun 2009 12:01:19 +0000 (20:01 +0800)]
Support GtkOrientable for GtkButtonBox

Edit: Update for coding style

15 years agoTestcase for GtkOrientable
Davyd Madeley [Tue, 2 Jun 2009 10:58:10 +0000 (18:58 +0800)]
Testcase for GtkOrientable

15 years agoUpdated Spanish translation
Jorge Gonzalez [Sat, 13 Jun 2009 11:21:01 +0000 (13:21 +0200)]
Updated Spanish translation

15 years agobgo#484922 - Remember the sort column and order in the file chooser
Benjamin Gramlich [Fri, 12 Jun 2009 22:31:28 +0000 (17:31 -0500)]
bgo#484922 - Remember the sort column and order in the file chooser

Signed-off-by: Federico Mena Quintero <federico@novell.com>