]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoUpdated Galician translations
Fran Diéguez [Sun, 9 Jan 2011 23:02:32 +0000 (00:02 +0100)]
Updated Galician translations

13 years agoObtain the fg color from the renderer
Paolo Borelli [Sun, 9 Jan 2011 17:10:50 +0000 (18:10 +0100)]
Obtain the fg color from the renderer

prepare_run must have been called before draw_shape, so we can avoid
fiddling the the (deprecated) style and state and just use the color
alredy set on the renderer.

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

13 years agoRemove stipple attributes
Paolo Borelli [Sun, 9 Jan 2011 00:32:49 +0000 (01:32 +0100)]
Remove stipple attributes

GtkTextView does not support them anymore.

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

13 years agoSmall cleanup in gailtextview code.
Paolo Borelli [Sat, 8 Jan 2011 23:16:20 +0000 (00:16 +0100)]
Small cleanup in gailtextview code.

Fold gail_misc_add_to_attr_set into the only function calling it, which
avoids a useless big "switch" and results in much less code.

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

13 years agoUpdated Hebrew translation
Yaron Shahrabani [Sun, 9 Jan 2011 19:04:58 +0000 (21:04 +0200)]
Updated Hebrew translation

13 years agoUpdated Galician translations
Fran Diéguez [Sun, 9 Jan 2011 15:42:40 +0000 (16:42 +0100)]
Updated Galician translations

13 years ago[Doc] gtk_symbolic_color_resolve()'s props arg can be NULL
Milan Bouchet-Valat [Sat, 8 Jan 2011 16:25:39 +0000 (17:25 +0100)]
[Doc] gtk_symbolic_color_resolve()'s props arg can be NULL

Document this behavior and add annotations.

13 years agoUpdated Spanish translation, fixes bug #638991
Jorge González [Sat, 8 Jan 2011 12:49:31 +0000 (13:49 +0100)]
Updated Spanish translation, fixes bug #638991

13 years agodocs: Fix typo in GtkWidget geometry-management documentation
Javier Jardón [Sat, 8 Jan 2011 09:56:59 +0000 (10:56 +0100)]
docs: Fix typo in GtkWidget geometry-management documentation

Reported by Andrew Cowie in
https://bugzilla.gnome.org/show_bug.cgi?id=638963

13 years agoAdding missing gtk-doc annotations.
Tristan Van Berkom [Sat, 8 Jan 2011 09:46:46 +0000 (18:46 +0900)]
Adding missing gtk-doc annotations.

GtkProgressBar:show-text, GtkScrolledWindow:min-content-width/height
are new properties in 3.0.

13 years agoUpdated British English translation
Bruce Cowan [Fri, 7 Jan 2011 23:25:18 +0000 (23:25 +0000)]
Updated British English translation

13 years agoTranslate KeyPress/KeyRelease in gtkplug-x11
Carlos Garnacho [Fri, 7 Jan 2011 20:51:23 +0000 (21:51 +0100)]
Translate KeyPress/KeyRelease in gtkplug-x11

This makes XEmbed work properly again. Only event->key.group
and is_modifier are left blank at the moment. Exposing the
necessary XKB bits should be considered, but it's not urgent
for the current usecases.

13 years agoIntroduce gtk_tree_view_is_blank_at_pos()
Kristian Rietveld [Fri, 7 Jan 2011 14:35:35 +0000 (15:35 +0100)]
Introduce gtk_tree_view_is_blank_at_pos()

This function is useful to figure out whether the tree view is "blank"
at a given location.  For such locations you might want to popup a
custom popup menu, clear the current selection or start rubber banding.
In the future, we are planning on updating GtkTreeView's user
interactions to take advantage of this new function.

Part of bug 350618.

13 years agoFix gtk_tree_view_column_cell_get_position()
Kristian Rietveld [Fri, 7 Jan 2011 14:10:06 +0000 (15:10 +0100)]
Fix gtk_tree_view_column_cell_get_position()

13 years agoUpdated Indonesian translation
Andika Triwidada [Fri, 7 Jan 2011 13:38:52 +0000 (20:38 +0700)]
Updated Indonesian translation

13 years agoDocument that GtkModuleInit doesn't receive argv anymore
Matthias Clasen [Fri, 7 Jan 2011 13:12:07 +0000 (08:12 -0500)]
Document that GtkModuleInit doesn't receive argv anymore

13 years agoSet the style for .view so i.e the GtkTextView gets the right style.
Ignacio Casal Quinteiro [Fri, 7 Jan 2011 10:34:35 +0000 (11:34 +0100)]
Set the style for .view so i.e the GtkTextView gets the right style.

13 years agoRemoved special casing code in GtkCellLayout in favor of default implementation.
Tristan Van Berkom [Fri, 7 Jan 2011 09:08:51 +0000 (18:08 +0900)]
Removed special casing code in GtkCellLayout in favor of default implementation.

The fact that GtkCellLayout was checking "if (gtk_cell_layout_get_area (layout))"
and executing code contitionally from the apis instead of simply falling
back to the default implementation for these things was causing problems
in language bindings such as gtkmm... Regardless, the implementation
is cleaner this way too.

13 years agoFixed documentation of gtk_cell_area_set_focus_cell().
Tristan Van Berkom [Fri, 7 Jan 2011 06:47:13 +0000 (15:47 +0900)]
Fixed documentation of gtk_cell_area_set_focus_cell().

13 years agoSupport disabling X11 extensions
Emilio Pozuelo Monfort [Fri, 7 Jan 2011 01:30:11 +0000 (01:30 +0000)]
Support disabling X11 extensions

Based on a patch from Cyril Brulebois <kibi@debian.org>

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

13 years agoUpdated Galician translations
Fran Diéguez [Thu, 6 Jan 2011 23:11:51 +0000 (00:11 +0100)]
Updated Galician translations

13 years agoForgotten documentation fix
Matthias Clasen [Thu, 6 Jan 2011 16:27:38 +0000 (11:27 -0500)]
Forgotten documentation fix

13 years agoBump version
Matthias Clasen [Thu, 6 Jan 2011 16:27:15 +0000 (11:27 -0500)]
Bump version

13 years agoMore documentation fixes
Matthias Clasen [Thu, 6 Jan 2011 14:06:24 +0000 (09:06 -0500)]
More documentation fixes

13 years agoUndoccommentize gtktreemenu.c
Matthias Clasen [Thu, 6 Jan 2011 13:23:18 +0000 (08:23 -0500)]
Undoccommentize gtktreemenu.c

13 years agoDocumentation fixes
Matthias Clasen [Thu, 6 Jan 2011 13:12:01 +0000 (08:12 -0500)]
Documentation fixes

13 years agoDocumentation fixes
Matthias Clasen [Thu, 6 Jan 2011 13:12:01 +0000 (08:12 -0500)]
Documentation fixes

13 years agoAdd sufficient deps to make building from 'git clean' work
Matthias Clasen [Thu, 6 Jan 2011 12:44:44 +0000 (07:44 -0500)]
Add sufficient deps to make building from 'git clean' work

13 years agoFix introspection annotation syntax
Matthias Clasen [Thu, 6 Jan 2011 12:44:19 +0000 (07:44 -0500)]
Fix introspection annotation syntax

13 years agoUpdated Luganda translation
Kizito Birabwa [Thu, 6 Jan 2011 09:23:59 +0000 (10:23 +0100)]
Updated Luganda translation

13 years agoAdd appchooser docs
Matthias Clasen [Thu, 6 Jan 2011 07:07:35 +0000 (02:07 -0500)]
Add appchooser docs

13 years agoDocumentation polishing
Matthias Clasen [Thu, 6 Jan 2011 06:11:49 +0000 (01:11 -0500)]
Documentation polishing

13 years agoMove the GtkApplication example to the right place
Matthias Clasen [Thu, 6 Jan 2011 06:09:14 +0000 (01:09 -0500)]
Move the GtkApplication example to the right place

13 years agoUpdate NEWS some more
Matthias Clasen [Thu, 6 Jan 2011 05:55:16 +0000 (00:55 -0500)]
Update NEWS some more

13 years agoFixed statement in gtkwindow.c when toplevelness changes.
Tristan Van Berkom [Thu, 6 Jan 2011 05:27:03 +0000 (14:27 +0900)]
Fixed statement in gtkwindow.c when toplevelness changes.

Fixed a typo when checking if the heirarchy toplevel is a toplevel
before firing the hierarchy-changed signal.

13 years agoDont show the GtkWindow when removing it from a parent and becomming a toplevel
Tristan Van Berkom [Mon, 3 Jan 2011 15:55:04 +0000 (00:55 +0900)]
Dont show the GtkWindow when removing it from a parent and becomming a toplevel

Showing the window causes it to try to grab focus, this causes problems
when embedded toplevels run through dispose cycles.

13 years agoFixed conflict while rebasing master.
Tristan Van Berkom [Mon, 27 Dec 2010 06:02:01 +0000 (15:02 +0900)]
Fixed conflict while rebasing master.

13 years agoChanges to testtoplevelembed
Tristan Van Berkom [Sun, 26 Dec 2010 10:25:06 +0000 (19:25 +0900)]
Changes to testtoplevelembed

  - Made notebook tabs smaller
  - No need to hide/show toplevels after removing from a parent,
    if it's visible it will be automatically shown after removing
    outside of it's previous parent.

13 years agoFixed GtkFileChooserDefault to handle cases of being in an embedded dialog.
Tristan Van Berkom [Sun, 26 Dec 2010 10:13:19 +0000 (19:13 +0900)]
Fixed GtkFileChooserDefault to handle cases of being in an embedded dialog.

This involves checking the toplevelness of new toplevels before connecting
but not the *old* ones for disconnecting signals. Also take care of handling
a row_reference that becomes invalid over the course of reparenting the
filechooser into another parent.

13 years agoFixed GtkWindow/GtkWidget to properly emit hierarchy changed for embedded toplevels
Tristan Van Berkom [Sun, 26 Dec 2010 10:08:33 +0000 (19:08 +0900)]
Fixed GtkWindow/GtkWidget to properly emit hierarchy changed for embedded toplevels

Now GtkWindow takes some measures when setting toplevelness:

  - When a window becomes toplevel after being embedded it saves
    the visibility state and reshow's itself so that the window
    re-realizes and presents itself again automatically

  - When emitting hierarchy-changed, synthetically mark the toplevel
    as not anchored, this allows the hierarchy changed propagation to
    recurse properly.

GtkWidget also takes care to unset the parent window *after* unparenting
the widget and after emitting the heirarhcy changed that leaves a NULL
toplevel.

That means there are now 2 cycles of "hierarchy-changed" when removing
an embedded toplevel from a parent, first one that makes the new toplevel
a NULL one (since the toplevel flag is not yet restored), the second cycle
makes the removed window toplevel again when setting the parent window
to NULL.

13 years agoFixed focus handling on embedded windows.
Tristan Van Berkom [Fri, 24 Dec 2010 04:25:02 +0000 (13:25 +0900)]
Fixed focus handling on embedded windows.

Now GtkWindow chains up in focus vfuncs when non-toplevel, this
fixes focus in testtoplevelembed.

13 years agoAdded buttons to notebook tabs in testtoplevelembed
Tristan Van Berkom [Fri, 24 Dec 2010 03:35:56 +0000 (12:35 +0900)]
Added buttons to notebook tabs in testtoplevelembed

Now you can remove and reembed the toplevels (deleting the
toplevels put them back in the notebook).

13 years agoMoved location of unsetting parent window inside gtk_widget_unparent().
Tristan Van Berkom [Fri, 24 Dec 2010 03:35:27 +0000 (12:35 +0900)]
Moved location of unsetting parent window inside gtk_widget_unparent().

Make sure to do this after the widget is unrealized.

13 years agoFixed issues with "hierarchy-changed" signal.
Tristan Van Berkom [Fri, 24 Dec 2010 03:01:43 +0000 (12:01 +0900)]
Fixed issues with "hierarchy-changed" signal.

GtkFileChooserDefault watches the toplevel and montitors "set-focus"
signal on it... however the connection needs to be remade when the
GtkFileChooserDialog is in an embedded toplevel.

Measure's taken: GtkWindow propagates hierarchy changes when
_gtk_window_set_is_toplevel() is called, gtk_widget_unparent()
unsets the widget's parent window earlier in the function so that
the possible hierarchy change is still able to properly access the hierarchy.

GtkFileChooserDefault checks if the "new" toplevel is indeed
gtk_widget_is_toplevel() but not the old one, GtkRange has been
updated to use gtk_widget_is_toplevel() inside it's hierarhcy_changed
vfunc, other classes already do this properly.

13 years agoAdded tests/testtoplevelembed.
Tristan Van Berkom [Fri, 24 Dec 2010 01:29:21 +0000 (10:29 +0900)]
Added tests/testtoplevelembed.

13 years agoSlightly less special casing in GtkWindow for gtk_widget_is_toplevel()
Tristan Van Berkom [Thu, 23 Dec 2010 17:10:07 +0000 (02:10 +0900)]
Slightly less special casing in GtkWindow for gtk_widget_is_toplevel()

Also take care of setting the resize-mode at realize time depending
on toplevelness.

13 years agoAdded docs to gtk_widget_set_parent_window.
Tristan Van Berkom [Thu, 23 Dec 2010 17:09:41 +0000 (02:09 +0900)]
Added docs to gtk_widget_set_parent_window.

Also stop setting the resize mode of the window.

13 years agoAllow GtkWindow to be parented if gtk_widget_set_parent_window() is called on one
Tristan Van Berkom [Thu, 23 Dec 2010 12:51:25 +0000 (21:51 +0900)]
Allow GtkWindow to be parented if gtk_widget_set_parent_window() is called on one

This patch makes gtk_widget_set_parent_window() undo the toplevelness
of a GtkWindow, GtkWindow then realizes itself as a normal child widget
and behaves like a normal GtkBin by checking gtk_widget_is_toplevel() in
several places (show/hide/map/unmap/draw/size_allocate/check_resize/configure_event).

13 years agoCosmetic changes
Matthias Clasen [Thu, 6 Jan 2011 05:07:48 +0000 (00:07 -0500)]
Cosmetic changes

13 years agoEnsure that GtkIconView items get redrawn when the focus cell changes.
Tristan Van Berkom [Wed, 5 Jan 2011 16:30:17 +0000 (01:30 +0900)]
Ensure that GtkIconView items get redrawn when the focus cell changes.

Seems the redraw was not happenning from keynav when set_focus_cell()
was called because keynav already updates the focus-cell. Now we
just unconditionally redraw the focus item when set_focus_cell() is
called.

13 years agoFixed GtkIconView keynav
Tristan Van Berkom [Wed, 5 Jan 2011 12:58:32 +0000 (21:58 +0900)]
Fixed GtkIconView keynav

Icon View was not initially setting focus on a cell when
focus initially comes into the view. Focusing into whatever
is the first cell in the cursor item when set_cursor_item
is called with a NULL cell fixes this.

13 years agoFixed gtkiconview dispose cycle to not fire warnings.
Tristan Van Berkom [Tue, 21 Dec 2010 12:28:46 +0000 (21:28 +0900)]
Fixed gtkiconview dispose cycle to not fire warnings.

13 years agoRestored the old GtkIconView guess for wrap-width/width size of text cell
Tristan Van Berkom [Tue, 14 Dec 2010 06:37:42 +0000 (15:37 +0900)]
Restored the old GtkIconView guess for wrap-width/width size of text cell

GtkIconView sets the minimum width of the text cell to be at least 50
pixels and otherwise twice the width of the first pixbuf cell found
in the icon list.

13 years agoMade GtkIconView reset the context and invalidate all sizes when a row changes.
Tristan Van Berkom [Mon, 13 Dec 2010 09:08:37 +0000 (18:08 +0900)]
Made GtkIconView reset the context and invalidate all sizes when a row changes.

GtkIconView should have a "grow-only" mode to handle optimization to
only allow icons to grow in width when rows change, however since
GtkIconView still does not handle large numbers of rows for now we'll
just relayout the whole thing whenever a series of rows change.

Also fixed up to watch the context incase of implicit resets.

13 years agoRemoved gtk_icon_view_get_item_area()
Tristan Van Berkom [Mon, 13 Dec 2010 08:41:50 +0000 (17:41 +0900)]
Removed gtk_icon_view_get_item_area()

Now use a GdkRectangle at the begining of the GtkIconViewItem
structure and just re-cast the struct to get the item area.

13 years agoFixed GtkIconView buildable custom tag end to let cell layout properly
Tristan Van Berkom [Mon, 13 Dec 2010 07:01:58 +0000 (16:01 +0900)]
Fixed GtkIconView buildable custom tag end to let cell layout properly
handle <cell-packing>

13 years agoAdded gtk_icon_view_new_with_area()
Tristan Van Berkom [Mon, 13 Dec 2010 06:54:02 +0000 (15:54 +0900)]
Added gtk_icon_view_new_with_area()

13 years agoGtkIconView now uses a per-row GtkCellAreaContext to store the alignments
Tristan Van Berkom [Sun, 12 Dec 2010 15:24:26 +0000 (00:24 +0900)]
GtkIconView now uses a per-row GtkCellAreaContext to store the alignments
of each row.

GtkIconView now properly calculates the height of each row separately
using a separate GtkCellAreaContext stored in an array which it can
always easily index with the item->row index for all purposes.

13 years agoAlignments with variable row heights almost works perfectly.
Tristan Van Berkom [Sun, 12 Dec 2010 11:59:41 +0000 (20:59 +0900)]
Alignments with variable row heights almost works perfectly.

However, I'm going to have to figure a way to store the alignments
for rows separately, this may involve using a separate GtkCellAreaContext
for each row, unfortunately.

13 years agoExperimenting with allocating the context a different height for each row.
Tristan Van Berkom [Sun, 12 Dec 2010 11:37:38 +0000 (20:37 +0900)]
Experimenting with allocating the context a different height for each row.

13 years agoCommitting working version of GtkIconView using GtkCellArea.
Tristan Van Berkom [Sun, 12 Dec 2010 10:59:41 +0000 (19:59 +0900)]
Committing working version of GtkIconView using GtkCellArea.

Some things still not sorted out, GtkCellAreaContext is not allocated
so icons dont recieve alignments yet, focus navigation is not exactly
what it used to be (maybe we can work around that by observing the
item orientation and explicitly setting focus to the same cell when
navigating in the wrong orientation).

13 years agoInitial messy commit of GtkIconView using GtkCellArea (nothing works yet).
Tristan Van Berkom [Sun, 12 Dec 2010 07:29:41 +0000 (16:29 +0900)]
Initial messy commit of GtkIconView using GtkCellArea (nothing works yet).

13 years agoAdded GtkCellArea & GtkCellAreaContext to GtkIconView
Tristan Van Berkom [Fri, 10 Dec 2010 08:15:39 +0000 (17:15 +0900)]
Added GtkCellArea & GtkCellAreaContext to GtkIconView

First commit to icon-view-refactor, essentially only adds the
construct-only "cell-area" property and the context but doesnt
use it.

13 years agoAdd gtk_tree_model_iter_previous() vfunc
Szilárd Pfeiffer [Thu, 6 Jan 2011 04:39:11 +0000 (23:39 -0500)]
Add gtk_tree_model_iter_previous() vfunc

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

13 years agoRemove deprecated GtkSpinner style properties
Matthias Clasen [Thu, 6 Jan 2011 04:21:52 +0000 (23:21 -0500)]
Remove deprecated GtkSpinner style properties

13 years agoAnother NEWS update
Matthias Clasen [Thu, 6 Jan 2011 02:08:30 +0000 (21:08 -0500)]
Another NEWS update

13 years agoTranslation: update Punjabi
A S Alam [Thu, 6 Jan 2011 01:46:05 +0000 (07:16 +0530)]
Translation: update Punjabi

13 years agoDrop the G_SEAL definition from gdkconfig.h
Matthias Clasen [Thu, 6 Jan 2011 00:00:14 +0000 (19:00 -0500)]
Drop the G_SEAL definition from gdkconfig.h

All sealed members removed. Yay!

13 years agotests: Port testsocket example to not use deprecated APIs
Benjamin Otte [Wed, 5 Jan 2011 22:49:40 +0000 (23:49 +0100)]
tests: Port testsocket example to not use deprecated APIs

13 years agotests: Fix compile warnings for people who don't read gcc output.
Benjamin Otte [Wed, 5 Jan 2011 22:49:14 +0000 (23:49 +0100)]
tests: Fix compile warnings for people who don't read gcc output.

13 years agoadjustment: Privateize sealed members
Benjamin Otte [Wed, 5 Jan 2011 22:03:57 +0000 (23:03 +0100)]
adjustment: Privateize sealed members

13 years agotestgtk: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 22:33:50 +0000 (23:33 +0100)]
testgtk: Update adjustment usage for sealing

13 years agotestgtk: Rename "adj" variables to "adjustment"
Benjamin Otte [Wed, 5 Jan 2011 22:28:55 +0000 (23:28 +0100)]
testgtk: Rename "adj" variables to "adjustment"

13 years agotests: Update prop-editor adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 22:28:36 +0000 (23:28 +0100)]
tests: Update prop-editor adjustment usage for sealing

13 years agogtk-demo: Undef GDK_DISABLE_DEPRECATED to make test compile
Benjamin Otte [Wed, 5 Jan 2011 22:25:33 +0000 (23:25 +0100)]
gtk-demo: Undef GDK_DISABLE_DEPRECATED to make test compile

13 years agovolumebutton: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 22:03:09 +0000 (23:03 +0100)]
volumebutton: Update adjustment usage for sealing

Also rename all variables named "adj" to "adjustment", like they're
called everywhere else.

13 years agoscalebutton: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 22:02:10 +0000 (23:02 +0100)]
scalebutton: Update adjustment usage for sealing

Also rename all variables named "adj" to "adjustment", like they're
called everywhere else.

13 years agotextview: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 22:00:46 +0000 (23:00 +0100)]
textview: Update adjustment usage for sealing

Also rename all variables named "adj" to "adjustment", like they're
called everywhere else.

13 years agotests: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 22:00:26 +0000 (23:00 +0100)]
tests: Update adjustment usage for sealing

13 years agocombobox: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 21:29:13 +0000 (22:29 +0100)]
combobox: Update adjustment usage for sealing

13 years agoexamples: Update dial adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 21:15:42 +0000 (22:15 +0100)]
examples: Update dial adjustment usage for sealing

13 years agodemos: Update testpixbuf-scale demo for adjustment sealing
Benjamin Otte [Wed, 5 Jan 2011 21:14:32 +0000 (22:14 +0100)]
demos: Update testpixbuf-scale demo for adjustment sealing

13 years agogail: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 21:12:58 +0000 (22:12 +0100)]
gail: Update adjustment usage for sealing

13 years agorange: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 21:08:45 +0000 (22:08 +0100)]
range: Update adjustment usage for sealing

13 years agorange: Rewrite attachment setters to use sealed API
Benjamin Otte [Wed, 5 Jan 2011 21:06:55 +0000 (22:06 +0100)]
range: Rewrite attachment setters to use sealed API

13 years agoviewport: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 20:54:54 +0000 (21:54 +0100)]
viewport: Update adjustment usage for sealing

13 years agoviewport: Rewrite adjustment modification code for sealing
Benjamin Otte [Wed, 5 Jan 2011 20:53:04 +0000 (21:53 +0100)]
viewport: Rewrite adjustment modification code for sealing

13 years agoiconview: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 19:57:46 +0000 (20:57 +0100)]
iconview: Update adjustment usage for sealing

13 years agoiconview: Use gtk_adjustment_configure() instead of g_object_set()
Benjamin Otte [Wed, 5 Jan 2011 22:14:02 +0000 (23:14 +0100)]
iconview: Use gtk_adjustment_configure() instead of g_object_set()

Simplifies code quite a bit apart from jsut making it more readable.

13 years agoiconview: Use set_[hv]adjustment_values() also when just changing upper
Benjamin Otte [Wed, 5 Jan 2011 22:00:54 +0000 (23:00 +0100)]
iconview: Use set_[hv]adjustment_values() also when just changing upper

Simplifies the code quite a bit and the code is smart enough to not do
extra work if only one value changes.

13 years agomenu: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 18:26:14 +0000 (19:26 +0100)]
menu: Update adjustment usage for sealing

13 years agomenu: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 18:18:50 +0000 (19:18 +0100)]
menu: Update adjustment usage for sealing

Call gtk_adjustment_set_value() instead of manually updating the value
in gtk_menu_scroll_to()

13 years agoscrolledwindow: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 18:15:06 +0000 (19:15 +0100)]
scrolledwindow: Update adjustment usage for sealing

13 years agospinbutton: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 15:54:12 +0000 (16:54 +0100)]
spinbutton: Update adjustment usage for sealing

Also rename all variables named "adj" to "adjustment", like they're
called everywhere else.

13 years agoMore updates
Matthias Clasen [Wed, 5 Jan 2011 21:58:08 +0000 (16:58 -0500)]
More updates

13 years agoAdd GtkNumerableIcon
Matthias Clasen [Wed, 5 Jan 2011 21:30:57 +0000 (16:30 -0500)]
Add GtkNumerableIcon

This is a subclass of GEmblemedIcon that can show a number or
short string as an emblem, overlayed on top of another emblem.

Written by Cosimo Cecchi
https://bugzilla.gnome.org/show_bug.cgi?id=637169

13 years agoFixed get_size() for GtkCellRendererText to clip to the input area
Tristan Van Berkom [Wed, 5 Jan 2011 17:29:18 +0000 (02:29 +0900)]
Fixed get_size() for GtkCellRendererText to clip to the input area

For ellipsize cells it's important to clip the result of get_size()
so that the returned required rectangle is indeed less than or equal
to the input rectangle... this is done so that GtkCellArea can accurately
paint focus on cells by calling gtk_cell_renderer_get_aligned_area().

Patch also adds assertions to gtk_cell_renderer_get_aligned_area() to
ensure this keeps working correctly.

13 years agoAdd padding to text attribute structs
Matthias Clasen [Wed, 5 Jan 2011 16:26:14 +0000 (11:26 -0500)]
Add padding to text attribute structs

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Wed, 5 Jan 2011 16:14:40 +0000 (18:14 +0200)]
[l10n] Updated Estonian translation

13 years agoRemove some dropped symbols from gtk3-sections.txt
Matthias Clasen [Wed, 5 Jan 2011 16:01:20 +0000 (11:01 -0500)]
Remove some dropped symbols from gtk3-sections.txt