]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agogtktreestore: Move documentation to inline comments
Javier Jardón [Fri, 22 Oct 2010 19:47:46 +0000 (21:47 +0200)]
gtktreestore: Move documentation to inline comments

13 years agoGtkBuilder: Prepare for parsing GdkRGBA types.
Carlos Garnacho [Fri, 22 Oct 2010 16:53:54 +0000 (18:53 +0200)]
GtkBuilder: Prepare for parsing GdkRGBA types.

13 years agoGtkCellRendererText: Add [foreground|background]-rgba properties
Carlos Garnacho [Fri, 22 Oct 2010 16:33:07 +0000 (18:33 +0200)]
GtkCellRendererText: Add [foreground|background]-rgba properties

These properties use GdkRGBA to render the cell renderer's content.
Note that Pango attributes are used to render the foreground color,
so the alpha value is currently ignored.

13 years agoGtkCellRenderer: Add ::cell-background-rgba property
Carlos Garnacho [Fri, 22 Oct 2010 16:07:08 +0000 (18:07 +0200)]
GtkCellRenderer: Add ::cell-background-rgba property

This property uses GdkRGBA in order to render the cell renderer's
background.

13 years agoGtkColorButton: Add API to deal with GdkRGBA.
Carlos Garnacho [Fri, 22 Oct 2010 15:58:24 +0000 (17:58 +0200)]
GtkColorButton: Add API to deal with GdkRGBA.

13 years agoGtkColorSelection: Add API to deal with GdkRGBA.
Carlos Garnacho [Fri, 22 Oct 2010 15:56:21 +0000 (17:56 +0200)]
GtkColorSelection: Add API to deal with GdkRGBA.

The hook to change the global palette is still unchanged, it is quite
tied to GdkColor and the color format used to store the palette in
GtkSettings.

13 years agoMake gtk_icon_info_load_symbolic() Take GdkRGBA colors.
Carlos Garnacho [Fri, 22 Oct 2010 12:21:34 +0000 (14:21 +0200)]
Make gtk_icon_info_load_symbolic() Take GdkRGBA colors.

13 years agoGtkCellView: Add gtk_cell_view_set_background_rgba()
Carlos Garnacho [Fri, 22 Oct 2010 11:01:54 +0000 (13:01 +0200)]
GtkCellView: Add gtk_cell_view_set_background_rgba()

A ::background-rgba property was also added, this API is meant
to replace the gtk_cell_view_set_background_color() call.

13 years agoGdkWindow: Add gdk_window_set_background_rgba()
Carlos Garnacho [Thu, 21 Oct 2010 13:26:40 +0000 (15:26 +0200)]
GdkWindow: Add gdk_window_set_background_rgba()

This new function takes a GdkRGBA in order to set the background to
an alpha color. Keep in mind that RGBA visuals and a composited environment
are still necessary to have an alpha background displayed.

13 years agoAdd GdkRGBA struct to supersede GdkColor
Carlos Garnacho [Thu, 21 Oct 2010 13:23:48 +0000 (15:23 +0200)]
Add GdkRGBA struct to supersede GdkColor

GdkRGBA is a boxed struct similar to GdkColor, with the difference
that it stores alpha information as well, and colors are stored in
[0..1] doubles, in the cairo spirit.

gdk_cairo_set_source_rgba() has been also added to allow easier handling
of this new type.

13 years agoPoint to GtkGrid from the GtkBox and GtkTable docs
Matthias Clasen [Fri, 22 Oct 2010 17:59:29 +0000 (19:59 +0200)]
Point to GtkGrid from the GtkBox and GtkTable docs

13 years agoRemove some warnings
Matthias Clasen [Fri, 22 Oct 2010 17:28:32 +0000 (19:28 +0200)]
Remove some warnings

13 years agoRemove GtkScrollablePolicy again
Matthias Clasen [Fri, 22 Oct 2010 17:20:26 +0000 (19:20 +0200)]
Remove GtkScrollablePolicy again

This was a miscommunication, the properties need to live elsewhere.

13 years agoMove min-display-width/height to GtkScrolledWindow
Matthias Clasen [Fri, 22 Oct 2010 16:46:33 +0000 (18:46 +0200)]
Move min-display-width/height to GtkScrolledWindow

It is just too annoying to have to implement these properties in
every scrollable. Instead, we now have ::min-content-height/width
in GtkScrolledWindow.

We also add GtkScrollablePolicy to determine how to size the
scrollable content.

13 years agorecent-manager: Coalesce multiple changes
Emmanuele Bassi [Fri, 22 Oct 2010 15:12:16 +0000 (16:12 +0100)]
recent-manager: Coalesce multiple changes

Since the ::changed implementation of GtkRecentManager implies a
synchronous write operation, when we receive multiple requests to emit a
::changed signal we might end up blocking.

This change coalesces multiple ::changed emission requests using the
following sequence:

  • the first request will install a timeout in 250 ms, which will
    emit the ::changed signal

  • each further request while the timeout has not been emitted
    will increase a counter

      ‣ if the counter reaches 250 before the timeout has been
        emitted, then the RecentManager will remove the timeout
        source and force a signal emission and reset the counter

This sequence should guarantee that frequent ::changed emission requests
are coalesced, and also guarantee that we don't let them dangle for too
long.

https://bugzilla.gnome.org/show_bug.cgi?id=616997

13 years agoDon't declare various unused variables in gtk_grid_set_orientation
Christian Dywan [Fri, 22 Oct 2010 17:05:40 +0000 (19:05 +0200)]
Don't declare various unused variables in gtk_grid_set_orientation

13 years agoAssign all g_signal_connect() and friends to gulong variables
Alberto Garcia [Fri, 8 Oct 2010 00:37:23 +0000 (02:37 +0200)]
Assign all g_signal_connect() and friends to gulong variables

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=87821

13 years agoGtkExpander: avoid use of gtk_get_event_widget()
Javier Jardón [Fri, 22 Oct 2010 16:14:10 +0000 (18:14 +0200)]
GtkExpander: avoid use of gtk_get_event_widget()

We can compare the window to the window instead of the widget to the widget.

13 years agodocs: Add gtk-doc notation
Javier Jardón [Fri, 22 Oct 2010 15:56:00 +0000 (17:56 +0200)]
docs: Add gtk-doc notation

to emphasize that GtkMisc and GtkAdjustment are not encouraged in new code

13 years agogtk: undef DISABLE_DEPRECATED around including our own header
Michael Natterer [Fri, 22 Oct 2010 15:09:48 +0000 (17:09 +0200)]
gtk: undef DISABLE_DEPRECATED around including our own header

so we can see our own deprecated API and don't get warnings.

13 years agogtk: use the new scrollable API to get to the scroll adjustments
Michael Natterer [Fri, 22 Oct 2010 15:09:23 +0000 (17:09 +0200)]
gtk: use the new scrollable API to get to the scroll adjustments

13 years agoFix make dist now that gtkcomboboxentry does not exist
Richard Hughes [Fri, 22 Oct 2010 15:07:26 +0000 (16:07 +0100)]
Fix make dist now that gtkcomboboxentry does not exist

13 years agoFixed problems with combination of height-for-width apis and
Tristan Van Berkom [Fri, 22 Oct 2010 15:04:46 +0000 (00:04 +0900)]
Fixed problems with combination of height-for-width apis and
alignment/margin vfuncs adjust_size_request/allocation

Now get_height_for_width() will internally update the for_width
before passing it to the real height_for_width() vfunc, allowing
margins and extra space for alignments to be stripped, thus requesting
sufficient height for greater than natural widths (and also accounting
for margins properly). Test case adjusted in testadjustsize to ensure
proper behavior.

13 years agogtk: use the new scrollable API to get scroll adjustments
Michael Natterer [Fri, 22 Oct 2010 15:03:21 +0000 (17:03 +0200)]
gtk: use the new scrollable API to get scroll adjustments

13 years agogtk: fix tool palette scroll adjustment setting
Michael Natterer [Fri, 22 Oct 2010 15:01:58 +0000 (17:01 +0200)]
gtk: fix tool palette scroll adjustment setting

Create a new adjustment if there was *no* adjustment passed in, not
the other way around. Also remove unused function
gtk_tool_palette_set_adjustment().

13 years agogtk: return 0 not NULL from functions returning gint
Michael Natterer [Fri, 22 Oct 2010 14:49:11 +0000 (16:49 +0200)]
gtk: return 0 not NULL from functions returning gint

13 years agoDiscourage use of GtkMisc and GtkAlignment
Matthias Clasen [Fri, 22 Oct 2010 14:52:08 +0000 (16:52 +0200)]
Discourage use of GtkMisc and GtkAlignment

13 years agoRemove child flipping from GtkGrid
Matthias Clasen [Fri, 22 Oct 2010 14:43:45 +0000 (16:43 +0200)]
Remove child flipping from GtkGrid

We decided that this is not really the right thing to do, for one
thing, because it doesn't flip ::expand and ::margin properties
of children.

13 years agoAdd GtkGrid
Matthias Clasen [Mon, 27 Sep 2010 14:44:31 +0000 (10:44 -0400)]
Add GtkGrid

GtkGrid is a container similar to GtkTable, without legacy
properties and unnecessary restrictions.
It does height-for-width geometry management.

13 years agoMake the docs build
Matthias Clasen [Fri, 22 Oct 2010 12:50:17 +0000 (14:50 +0200)]
Make the docs build

13 years agoFix a typo
Matthias Clasen [Fri, 22 Oct 2010 12:14:19 +0000 (14:14 +0200)]
Fix a typo

13 years agogtk: add gtk_entry_get_text_area() and gtk_entry_get_icon_area()
Michael Natterer [Fri, 22 Oct 2010 12:46:48 +0000 (14:46 +0200)]
gtk: add gtk_entry_get_text_area() and gtk_entry_get_icon_area()

as replacement for the removed get_foo_window() functions, so draw()
callbacks can figure where to paint.

13 years agorecent-chooser: Use gtk_recent_info_get_gicon()
Christian Persch [Thu, 29 Apr 2010 13:23:44 +0000 (15:23 +0200)]
recent-chooser: Use gtk_recent_info_get_gicon()

https://bugzilla.gnome.org/show_bug.cgi?id=617174

13 years agoAdd gtk_recent_info_get_gicon()
Christian Persch [Thu, 29 Apr 2010 13:21:23 +0000 (15:21 +0200)]
Add gtk_recent_info_get_gicon()

https://bugzilla.gnome.org/show_bug.cgi?id=617174

13 years agorecent-manager: Fix the documentation
Emmanuele Bassi [Fri, 22 Oct 2010 10:51:03 +0000 (11:51 +0100)]
recent-manager: Fix the documentation

The default RecentManager is not destroyed at the end of the process.

https://bugzilla.gnome.org/show_bug.cgi?id=602794

13 years agorecent-manager: Add RecentInfo.create_app_info()
Emmanuele Bassi [Fri, 22 Oct 2010 10:42:39 +0000 (11:42 +0100)]
recent-manager: Add RecentInfo.create_app_info()

A simple wrapper that makes it possible to create a GAppInfo from a
GtkRecentInfo blob.

13 years agorecent-manager: Move the file under XDG_USER_DATA
Emmanuele Bassi [Thu, 21 Oct 2010 13:06:29 +0000 (14:06 +0100)]
recent-manager: Move the file under XDG_USER_DATA

Do not use $HOME/.recently-used.xbel any more. No migration path is
included: we're breaking API anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=524304

13 years agoAdd GtkScrollable interface
Tadej Borovšak [Mon, 18 Oct 2010 04:21:39 +0000 (00:21 -0400)]
Add GtkScrollable interface

The GtkScrollable interface provides "hadjustment" and "vadjustment"
properties that are used by GtkScrolledWindow. It replaces
the ::set_scroll_adjustment signal. The scrollable interface
also has ::min-display-width/height properties that can be
used to control the minimally visible part inside a scrolled window.

13 years agoEnhanced GtkWidget documentation with regards to height-for-width geometry management.
Tristan Van Berkom [Thu, 21 Oct 2010 13:53:06 +0000 (22:53 +0900)]
Enhanced GtkWidget documentation with regards to height-for-width geometry management.

13 years agocontainer: Fix typo that caused madness
Benjamin Otte [Thu, 21 Oct 2010 13:31:07 +0000 (15:31 +0200)]
container: Fix typo that caused madness

Interestingly, this typo has been causing madness since 2 months, but
Mitch complained only today.

13 years agoconfigure: Enable silent rules by default
Benjamin Otte [Thu, 21 Oct 2010 13:08:46 +0000 (15:08 +0200)]
configure: Enable silent rules by default

Go Hackfest!

13 years agoentry: No, you can not haz ununused variables
Benjamin Otte [Thu, 21 Oct 2010 13:08:14 +0000 (15:08 +0200)]
entry: No, you can not haz ununused variables

13 years agocomboboxtext: Add gtk_combo_box_text_remove_all()
Christian Dywan [Thu, 21 Oct 2010 12:25:08 +0000 (14:25 +0200)]
comboboxtext: Add gtk_combo_box_text_remove_all()

https://bugzilla.gnome.org/show_bug.cgi?id=324899

13 years agoprogressbar: Remove declaration of nonexisting function
Benjamin Otte [Thu, 21 Oct 2010 12:19:56 +0000 (14:19 +0200)]
progressbar: Remove declaration of nonexisting function

13 years agosocket: Fix compiler issues
Benjamin Otte [Thu, 21 Oct 2010 12:08:45 +0000 (14:08 +0200)]
socket: Fix compiler issues

13 years agoMake GtkEntry a no-window widget
Matthias Clasen [Thu, 21 Oct 2010 11:09:25 +0000 (13:09 +0200)]
Make GtkEntry a no-window widget

Use input-only windows for capturing input, and just draw onto
the parent window. This allows themes to make entries with rounded
corners. Patch by Boram Park.

https://bugzilla.gnome.org/show_bug.cgi?id=632736

13 years agogtk: change GtkIconView to "support" actual trees
Michael Natterer [Thu, 21 Oct 2010 10:54:08 +0000 (12:54 +0200)]
gtk: change GtkIconView to "support" actual trees

Remove the check for GTK_TREE_MODEL_LIST_ONLY and make the view
display only the first level of the tree, ignoring all insert, remove
etc. events on the model's branches. This enables generic application
code which always produces GtkTreeStores (also for flat lists) to
display grids of these flat trees.

13 years agoMake GtkSpinButton a no-window widget
Matthias Clasen [Thu, 21 Oct 2010 09:41:20 +0000 (11:41 +0200)]
Make GtkSpinButton a no-window widget

We still retain an input-only window here for now, but all
the painting is done to the parent window.

13 years agoMake GtkProgressBar a no-window widget
Matthias Clasen [Thu, 21 Oct 2010 09:40:46 +0000 (11:40 +0200)]
Make GtkProgressBar a no-window widget

It doesn't really have a good reason for having a window.

13 years agoProperly propagate expand flags
Matthias Clasen [Wed, 20 Oct 2010 21:51:57 +0000 (23:51 +0200)]
Properly propagate expand flags

When showing a widget that already has need_compute_expand set,
we need to queue the recomputation on the parent.

13 years agoGtkButton: avoid use of gtk_get_event_widget()
Ryan Lortie [Wed, 20 Oct 2010 22:37:29 +0000 (00:37 +0200)]
GtkButton: avoid use of gtk_get_event_widget()

We can compare the window to the window instead of the widget to the
widget.

13 years agoGtkIMContextSimple: avoid gdk_window_get_user_data
Ryan Lortie [Wed, 20 Oct 2010 21:58:20 +0000 (23:58 +0200)]
GtkIMContextSimple: avoid gdk_window_get_user_data

We lookup a widget to call a function on GtkWidget that ends up just
performing an operation directly on the GdkWindow again anyway
(beeping).  There's already fallback code at the point of the call that
does exactly that anyway, so just do that all of the time.

13 years agogtk.symbols: Add missing GtkApplication api
Javier Jardón [Wed, 20 Oct 2010 18:41:08 +0000 (20:41 +0200)]
gtk.symbols: Add missing GtkApplication api

13 years agogdk: add alpha to the offscreen window's surface if its visual is RGBA
Michael Natterer [Wed, 20 Oct 2010 15:44:23 +0000 (17:44 +0200)]
gdk: add alpha to the offscreen window's surface if its visual is RGBA

13 years agogtk: clean up GtkWidget signals
Michael Natterer [Wed, 20 Oct 2010 14:58:18 +0000 (16:58 +0200)]
gtk: clean up GtkWidget signals

- add slots for damage-event, move-focus and keynav-failed
- reorder signals a bit so related stuff is grouped together
- some indentation fixes in the GtkWidgetClass
- remove the move-focus compat hack from GtkTextView
- turn the move-focus compat hack in GtkWindow into properly
  implementing GtkWidget::move-focus()

13 years agoRe-add copyright notice
Emmanuele Bassi [Wed, 20 Oct 2010 11:04:53 +0000 (12:04 +0100)]
Re-add copyright notice

https://bugzilla.gnome.org/show_bug.cgi?id=632677

13 years agoDo not install the hello-world and window-default example programs
Richard Hughes [Wed, 20 Oct 2010 10:57:58 +0000 (11:57 +0100)]
Do not install the hello-world and window-default example programs

13 years agotests: gdk_device_get_history() takes "gint *n_events" again, not guint
Michael Natterer [Wed, 20 Oct 2010 10:49:25 +0000 (12:49 +0200)]
tests: gdk_device_get_history() takes "gint *n_events" again, not guint

13 years agoSplit off gtkprivate.h
Emmanuele Bassi [Tue, 19 Oct 2010 17:14:46 +0000 (18:14 +0100)]
Split off gtkprivate.h

The gtkprivate.h header contains GtkWidget-specific private symbols that
are not useful except in a handful of cases. Basically everything
includes gtkprivate.h for the GTK_PARAM_* macros.

https://bugzilla.gnome.org/show_bug.cgi?id=632539

13 years agobuild: Do not install gtkprivate.h
Emmanuele Bassi [Tue, 19 Oct 2010 10:38:09 +0000 (11:38 +0100)]
build: Do not install gtkprivate.h

This is a private header file, and it should *not* be installed. It
should also not be scanned by the introspection machinery.

https://bugzilla.gnome.org/show_bug.cgi?id=632539

13 years agosettings: Move setting property registration in gtksettings.c
Emmanuele Bassi [Tue, 19 Oct 2010 10:47:40 +0000 (11:47 +0100)]
settings: Move setting property registration in gtksettings.c

Some GtkSettings property are registered by other classes. This leads
to the "interesting" issue that setting GtkSettings:gtk-button-images
requires that the GtkButton class is referenced first - or that a
GtkButton is created.

https://bugzilla.gnome.org/show_bug.cgi?id=632538

13 years agogtkapplication: fix docs
Javier Jardón [Wed, 20 Oct 2010 09:06:19 +0000 (11:06 +0200)]
gtkapplication: fix docs

13 years agoRemove GtkComboBoxEntry and the combo box text api
Matthias Clasen [Wed, 20 Oct 2010 09:02:03 +0000 (11:02 +0200)]
Remove GtkComboBoxEntry and the combo box text api

13 years agoGtkApplication: add gtk_application_get_windows()
Ryan Lortie [Tue, 19 Oct 2010 19:10:02 +0000 (21:10 +0200)]
GtkApplication: add gtk_application_get_windows()

Return a GList of the GtkWindow objects for each window that has the
application set as its "application" property.

13 years agoCompletely remove gtk_widget_hide_all
Javier Jardón [Tue, 19 Oct 2010 18:24:32 +0000 (20:24 +0200)]
Completely remove gtk_widget_hide_all

This completes commit d1a9d764a80d7e59d69933bdef38f8c8db32a3f2

13 years agoRemove gtk_widget_hide_all()
Matthias Clasen [Tue, 19 Oct 2010 17:31:38 +0000 (19:31 +0200)]
Remove gtk_widget_hide_all()

it's useless and a trap for programmers

https://bugzilla.gnome.org/show_bug.cgi?id=438318

13 years agoAdd padding to class structs
Matthias Clasen [Tue, 19 Oct 2010 17:07:36 +0000 (19:07 +0200)]
Add padding to class structs

13 years agoRemove the outdated faq
Matthias Clasen [Mon, 18 Oct 2010 21:17:24 +0000 (17:17 -0400)]
Remove the outdated faq

It mainly contains information that is already covered in the
API docs, or is outdated, or refers to no longer existing widgets.

13 years agoMake gdk_pixbuf_get_from_surface() accept negative src_x,y coordinates
Kristian Rietveld [Tue, 19 Oct 2010 12:05:24 +0000 (14:05 +0200)]
Make gdk_pixbuf_get_from_surface() accept negative src_x,y coordinates

13 years agodnd-quartz: get hot spot from device offset for surface and use this
Kristian Rietveld [Tue, 19 Oct 2010 11:26:39 +0000 (13:26 +0200)]
dnd-quartz: get hot spot from device offset for surface and use this

13 years agodnd-quartz: take hot spot into account when setting up drag
Kristian Rietveld [Tue, 19 Oct 2010 11:26:06 +0000 (13:26 +0200)]
dnd-quartz: take hot spot into account when setting up drag

13 years agogdk: change signature of gdk_device_get_history() back to what it used to be
Michael Natterer [Tue, 19 Oct 2010 11:30:42 +0000 (13:30 +0200)]
gdk: change signature of gdk_device_get_history() back to what it used to be

"n_events" went back from guint to gint.

13 years agoUpdated Spanish translation
Jorge González [Tue, 19 Oct 2010 10:39:25 +0000 (12:39 +0200)]
Updated Spanish translation

13 years agoUpdated Telugu Translations
krishnababu k [Tue, 19 Oct 2010 10:27:59 +0000 (15:57 +0530)]
Updated Telugu Translations

13 years agodocs: Update templates
Javier Jardón [Tue, 19 Oct 2010 01:31:02 +0000 (03:31 +0200)]
docs: Update templates

13 years agoconfigure.ac: Update Glib required version to 2.27.1
Javier Jardón [Tue, 19 Oct 2010 01:06:49 +0000 (03:06 +0200)]
configure.ac: Update Glib required version to 2.27.1

13 years agoGtkApplication rewrite
Ryan Lortie [Wed, 11 Aug 2010 05:23:23 +0000 (01:23 -0400)]
GtkApplication rewrite

13 years agogtk: Add gtk_widget_queue_draw_region()
Benjamin Otte [Mon, 18 Oct 2010 17:20:21 +0000 (19:20 +0200)]
gtk: Add gtk_widget_queue_draw_region()

People were requesting it and it mirrors the behavior of GdkWindow.

13 years agocups: Add hack to work around gcc warning
Benjamin Otte [Mon, 18 Oct 2010 17:08:55 +0000 (19:08 +0200)]
cups: Add hack to work around gcc warning

gcc warns if you switch on values that are not part of the enum you're
switching on. So handle those cases in the default handler by using if
statments.

PS: Someone file a bug against cups about this?

13 years agoprint: Make things compile again
Benjamin Otte [Mon, 18 Oct 2010 17:01:55 +0000 (19:01 +0200)]
print: Make things compile again

Remove workaround for entries - the general codepath should just work.

13 years agoselection: Hi, I can't get my code right
Benjamin Otte [Mon, 18 Oct 2010 16:29:51 +0000 (18:29 +0200)]
selection: Hi, I can't get my code right

Also, I refuse to compile with -Werror, so I don't notice.

13 years agonotebook: Hi, I can't get my function prototypes right
Benjamin Otte [Mon, 18 Oct 2010 16:25:03 +0000 (18:25 +0200)]
notebook: Hi, I can't get my function prototypes right

Also, I refuse to compile with -Werror

13 years agox11: Set GDK_PIXBUF_ENABLE_BACKEND before including files
Benjamin Otte [Mon, 18 Oct 2010 16:19:17 +0000 (18:19 +0200)]
x11: Set GDK_PIXBUF_ENABLE_BACKEND before including files

Otherwise we get an undefined gdk_pixbuf_set_option().

13 years agowidget: Remove special case in gtk_widget_queue_draw_area()
Benjamin Otte [Mon, 18 Oct 2010 15:34:33 +0000 (17:34 +0200)]
widget: Remove special case in gtk_widget_queue_draw_area()

This path would only do anything where widget->window was not located at
widget->allocation.x/y but at a different position. This should never
happen in the real world. But if it does, GTK3 will break for you.
Better fix your widget.

13 years agointrospection: Filter out all headers ending in "private"
Colin Walters [Mon, 18 Oct 2010 17:02:41 +0000 (13:02 -0400)]
introspection: Filter out all headers ending in "private"

We were including at least "gtkprivate.h" before.

13 years agoGdk X11: Add setter for startup notify ID
Ryan Lortie [Mon, 18 Oct 2010 15:11:58 +0000 (17:11 +0200)]
Gdk X11: Add setter for startup notify ID

For launch requests coming in over DBus.

13 years agoDon't add a second cell renderer
Matthias Clasen [Mon, 18 Oct 2010 12:13:41 +0000 (08:13 -0400)]
Don't add a second cell renderer

When has-entry is TRUE, GtkComboBox already adds a cell renderer
for the text column, so avoid adding a second one in GtkComboBoxText.

https://bugzilla.gnome.org/show_bug.cgi?id=632381

13 years agoUpdated Spanish translation
Jorge González [Mon, 18 Oct 2010 09:32:45 +0000 (11:32 +0200)]
Updated Spanish translation

13 years agoUse new GtkComboBoxEntry in all tests
Christian Dywan [Mon, 18 Oct 2010 07:10:27 +0000 (09:10 +0200)]
Use new GtkComboBoxEntry in all tests

13 years agoDon't use old GtkComboBoxEntry in gail
Christian Dywan [Mon, 18 Oct 2010 07:08:31 +0000 (09:08 +0200)]
Don't use old GtkComboBoxEntry in gail

Use gtk_combo_box_get_has_entry instead.

13 years agoAdd gtk_combo_box_{get,set}_popup_fixed_width to gtk.symbols
Christian Dywan [Mon, 18 Oct 2010 07:05:03 +0000 (09:05 +0200)]
Add gtk_combo_box_{get,set}_popup_fixed_width to gtk.symbols

13 years agoIcon view must layout before the draw handler is called
Kristian Rietveld [Sun, 17 Oct 2010 08:27:41 +0000 (10:27 +0200)]
Icon view must layout before the draw handler is called

gtk_icon_view_layout(), which can resize the bin window and thus
underlying surfaces, could be called from gtk_icon_view_draw().  So
we have to make sure that layouting is done before the draw handler is
called.  We use the same construction as in tree view here, the layout
idle handler is installed with a higher priority than
GDK_PRIORITY_REDRAW and we wrap the call to gdk_window_process_updates()
in a new function that will flush the layout queue beforehand.

13 years agoImplement gtk_drag_set_icon_surface in gtkdnd-quartz
Kristian Rietveld [Sun, 17 Oct 2010 08:07:29 +0000 (10:07 +0200)]
Implement gtk_drag_set_icon_surface in gtkdnd-quartz

13 years agoFix typo in docs
Kristian Rietveld [Sun, 17 Oct 2010 07:51:57 +0000 (09:51 +0200)]
Fix typo in docs

13 years agoUse cairo_surface_destroy instead of g_object_unref
Kristian Rietveld [Sat, 16 Oct 2010 18:16:19 +0000 (20:16 +0200)]
Use cairo_surface_destroy instead of g_object_unref

13 years agoUpdated Japanese translation
Takayuki KUSANO [Sun, 17 Oct 2010 06:10:45 +0000 (15:10 +0900)]
Updated Japanese translation

13 years agoAllow GtkComboBox popup to be wider than the combo itself.
Tristan Van Berkom [Sat, 16 Oct 2010 09:01:33 +0000 (18:01 +0900)]
Allow GtkComboBox popup to be wider than the combo itself.

This patch adds a GtkComboBox:popup-fixed-width to decide if the
popup's width should be a fixed width matching the combo's allocated width.

The patch includes a kindof hack to work around treeviews currently
not supporting height-for-width geometry (for list-mode only), this
hack can be safely removed once treeviews start reporting natural
widths properly.

13 years agoFix some GtkComboBoxText problems
Matthias Clasen [Sat, 16 Oct 2010 12:17:34 +0000 (08:17 -0400)]
Fix some GtkComboBoxText problems

We must use entry-text-column explicitly to 0, since it defaults to -1.

13 years agoFix some GtkComboBoxText problems
Matthias Clasen [Sat, 16 Oct 2010 12:16:55 +0000 (08:16 -0400)]
Fix some GtkComboBoxText problems

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 16 Oct 2010 10:22:01 +0000 (12:22 +0200)]
Updated Norwegian bokmål translation