]>
Pileus Git - ~andy/gtk/log
Matthias Clasen [Mon, 29 Aug 2011 17:08:47 +0000 (13:08 -0400)]
3.1.14
Matthias Clasen [Mon, 29 Aug 2011 15:57:39 +0000 (11:57 -0400)]
Don't unref floating menuitems
With recent fixes, GTK+ no longer sinks menu items automatically,
so we have to do it explicitly here.
Alejandro Piñeiro [Tue, 23 Aug 2011 15:58:53 +0000 (17:58 +0200)]
a11y: Don't manage window events as a exception
https://bugzilla.gnome.org/show_bug.cgi?id=657260
Alejandro Piñeiro [Tue, 23 Aug 2011 15:34:59 +0000 (17:34 +0200)]
a11y: Use AtkWindow on GtkWindowAccessible
GtkWindowAccessible doesn't require to define window related
signals. They are included on AtkWindow
Matthias Clasen [Mon, 29 Aug 2011 14:50:01 +0000 (10:50 -0400)]
a11y: don't return random numbers
Return 0 for the image size if we don't have a pixbuf to measure.
Matthias Clasen [Mon, 29 Aug 2011 14:35:32 +0000 (10:35 -0400)]
Adapt a11y dump output
Some of the recent changes need to be reflected in the a11y
dumps.
Matthias Clasen [Mon, 29 Aug 2011 14:24:17 +0000 (10:24 -0400)]
Fix exported symbols
Matthias Clasen [Mon, 29 Aug 2011 03:50:50 +0000 (23:50 -0400)]
testappchooser: handle 'no app selected' gracefully
The test was assuming that it always gets an app info back,
when in reality it might get NULL back.
Matthias Clasen [Mon, 29 Aug 2011 03:49:41 +0000 (23:49 -0400)]
GtkAppChooserDialog: handle sensitivity of 'Select' better
When the dialog comes up without a selected item, make 'Select'
insensitive. Also, don't allow to unselect an item without
selecting a different one.
Matthias Clasen [Mon, 29 Aug 2011 02:43:20 +0000 (22:43 -0400)]
GtkAppChooser: Deal with 'no app found' gracefully
Several functions inside GtkAppChooserDialog were not handling
the situation that app_info might be NULL after the user clicked
'Select'.
https://bugzilla.gnome.org/show_bug.cgi?id=651827
Matthias Clasen [Mon, 29 Aug 2011 02:30:24 +0000 (22:30 -0400)]
Avoid warnings when widgets are not created yet
This widget is created on-demand, so we can not unconditionally
set its sensitivity in some other place.
Matthias Clasen [Mon, 29 Aug 2011 01:20:53 +0000 (21:20 -0400)]
Add an accessor for grid children
This addresses concerns in bug 634136.
Matthias Clasen [Mon, 29 Aug 2011 00:46:11 +0000 (20:46 -0400)]
Trivial: include cleanups
Matthias Clasen [Mon, 29 Aug 2011 00:38:28 +0000 (20:38 -0400)]
Silence the build a bit more
Diego Celix [Sun, 12 Jun 2011 23:52:50 +0000 (01:52 +0200)]
tests-prop-editor:gtk_misc_set_alignment replacing
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
tests/prop-editor.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
Diego Celix [Mon, 13 Jun 2011 00:00:35 +0000 (02:00 +0200)]
testgtk: gtk_misc_set_alignment replacing
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
tests/testgtk.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
Diego Celix [Sun, 12 Jun 2011 23:43:43 +0000 (01:43 +0200)]
testcalendar: gtk_misc_set_alignment replacing
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
tests/testcalendar.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
Diego Celix [Sun, 12 Jun 2011 23:33:16 +0000 (01:33 +0200)]
demo-ui_manager: gtk_misc_set_alignment replacing
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
demos/gtk-demo/ui_manager.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
Diego Celix [Sun, 12 Jun 2011 23:28:48 +0000 (01:28 +0200)]
demo-sizegroup: gtk_misc_set_alignment replacing
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
demos/gtk-demo/sizegroup.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
Diego Celix [Sun, 12 Jun 2011 23:39:48 +0000 (01:39 +0200)]
demo-pickers: gtk_misc_set_alignment replacing
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
demos/gtk-demo/pickers.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
Diego Celix [Sun, 12 Jun 2011 23:36:02 +0000 (01:36 +0200)]
demo-changedisplay:gtk_misc_set_alignment replace
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
demos/gtk-demo/changedisplay.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
Diego Celix [Sat, 11 Jun 2011 00:09:49 +0000 (02:09 +0200)]
gtkappchooserdialog: gtk_misc_set_alignment
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkappchooserdialog.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
Diego Celix [Fri, 10 Jun 2011 23:40:58 +0000 (01:40 +0200)]
gtkaboutdialog: gtk_misc_set_alignment replacing
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkaboutdialog.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
Matthias Clasen [Mon, 29 Aug 2011 00:02:16 +0000 (20:02 -0400)]
Explicitly link gdk and gtk against libm
We used to get an implicit -lm from gdk-pixbuf, but that has
recently been changed to not inject extraneous libraries into
link lines, so we have to do it ourselves now. This is more
correct, anyway.
Cosimo Cecchi [Sun, 28 Aug 2011 19:26:47 +0000 (15:26 -0400)]
API: add accessors for GdkEvent fields
Add accessors for the following fields: button, keyval, keycode, scroll
direction, click count.
https://bugzilla.gnome.org/show_bug.cgi?id=657384
Matthias Clasen [Sun, 28 Aug 2011 18:52:33 +0000 (14:52 -0400)]
GtkTrayIconX11: Some more refactoring
I like my refactoring better...
Benjamin Otte [Sun, 28 Aug 2011 18:19:55 +0000 (20:19 +0200)]
trayicon-x11: Refactor code a bit
Should make it more obvious what the code actually does.
Vincent Bernat [Sat, 27 Aug 2011 18:06:26 +0000 (20:06 +0200)]
trayicon-x11: Fix warnings when visual is not available.
This fixes a regression introduced in commit
b1a1685a33eca16979e63d79915395af0b36 . gdk_visual_get_*_pixel_details()
should not be called with a NULL visual.
https://bugzilla.gnome.org/show_bug.cgi?id=649588
Mario Blättermann [Sun, 28 Aug 2011 11:40:28 +0000 (13:40 +0200)]
[l10n] Updated German translation
Matthias Clasen [Sun, 28 Aug 2011 05:54:55 +0000 (01:54 -0400)]
More include cleanups
Matthias Clasen [Sun, 28 Aug 2011 05:42:10 +0000 (01:42 -0400)]
More include cleanups
Matthias Clasen [Sun, 28 Aug 2011 05:40:10 +0000 (01:40 -0400)]
Clean up unneeded includes
Matthias Clasen [Sun, 28 Aug 2011 05:34:17 +0000 (01:34 -0400)]
GtkPrintUnixDialog: Replace GtkTable by GtkGrid
Matthias Clasen [Sun, 28 Aug 2011 04:47:24 +0000 (00:47 -0400)]
GtkFileChooserDefault: Replace GtkTable by GtkGrid
Matthias Clasen [Sun, 28 Aug 2011 04:39:44 +0000 (00:39 -0400)]
GtkMountOperation: Replace GtkTable by GtkGrid
Matthias Clasen [Sun, 28 Aug 2011 04:35:51 +0000 (00:35 -0400)]
GtkPageSetupUnixDialog: replace GtkTable by GtkGrid
Matthias Clasen [Sun, 28 Aug 2011 04:20:21 +0000 (00:20 -0400)]
GtkColorSel: replace GtkTable by GtkGrid
Matthias Clasen [Sat, 27 Aug 2011 21:22:37 +0000 (17:22 -0400)]
Fix the build
Matthias Clasen [Sat, 27 Aug 2011 15:45:01 +0000 (11:45 -0400)]
GtkToolbar: partial fix for toolbar editing
When using an editable toolbar in evince, we can end up
in gtk_toolbar_get_visible() position with item being the
highlight_tool_item, but not one of the regular children.
So, handle that.
Matthias Clasen [Sat, 27 Aug 2011 05:26:48 +0000 (01:26 -0400)]
Make gtk_status_icon_set_name() work reliably
Matthias Clasen [Sat, 27 Aug 2011 05:25:39 +0000 (01:25 -0400)]
Silence a compiler warning
Matthias Clasen [Wed, 24 Aug 2011 16:09:56 +0000 (12:09 -0400)]
Revert "GtkColorButton: Don't forget to close a cairo context"
This reverts commit
144e4af8bc583af536851bf6b11daaad8b5e4435 .
Chao-Hsiung Liao [Sat, 27 Aug 2011 02:35:54 +0000 (10:35 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Piotr Drąg [Sat, 27 Aug 2011 02:21:11 +0000 (04:21 +0200)]
Updated POTFILES.skip
Benjamin Otte [Sat, 27 Aug 2011 00:36:21 +0000 (02:36 +0200)]
reftests: Add a test for the recent notebook fix
Benjamin Otte [Fri, 26 Aug 2011 23:50:28 +0000 (01:50 +0200)]
notebook: Fix child property setters causing underallocations
Don't randomly allocate around, queue resizes instead.
Federico Mena Quintero [Fri, 26 Aug 2011 17:44:40 +0000 (12:44 -0500)]
Merge branch 'bgo593793-filechooser-recent-folders-master'
Federico Mena Quintero [Fri, 26 Aug 2011 17:32:00 +0000 (12:32 -0500)]
bgo#657186 - Sort the recent-files list in newest-to-oldest order
Otherwise it's not very useful... :)
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Fri, 26 Aug 2011 16:38:11 +0000 (11:38 -0500)]
Load and populate the recent-items in a single pass
There's no real asynchronicity going on, anyway, so let's do both within
a single iteration of the idle handler.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Thu, 25 Aug 2011 17:57:03 +0000 (12:57 -0500)]
Don't sort the recent-items by hand
The mtime from GtkRecentManager may not the same as the file's actual
mtime, so the final result could appear unsorted to the user. Instead,
we will let the view do the sorting.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Tristan Van Berkom [Fri, 26 Aug 2011 16:58:44 +0000 (18:58 +0200)]
Avoid dereferencing NULL pointer in gtk_label_drag_data_get()
It's possible the GtkLabel receives drag'n'drop related signals
if it was setup to receive them by a container or other external
code, just avoid dereferencing priv->select_info in this case.
Michael Terry [Fri, 26 Aug 2011 14:15:36 +0000 (16:15 +0200)]
tests: Add test for non-nullterminated gtk_css_provider_load_data()
https://bugzilla.gnome.org/show_bug.cgi?id=657359
Benjamin Otte [Fri, 17 Jun 2011 05:41:37 +0000 (07:41 +0200)]
styleproperty: Improve error message
We do dsupport that feature still and don't want to scare people into
thinking everything broke.
Benjamin Otte [Fri, 17 Jun 2011 05:39:11 +0000 (07:39 +0200)]
API: cssprovider: Change parsing-error signal
Instead of path, line and position, emit the section the error happened
in. This has a lot more information to consume.
Benjamin Otte [Fri, 17 Jun 2011 05:55:17 +0000 (07:55 +0200)]
cssparser: Fix cases where we could overrun the terminating 0
Benjamin Otte [Fri, 17 Jun 2011 05:21:46 +0000 (07:21 +0200)]
cssparser: Make lines and positions 0-indexed
Benjamin Otte [Fri, 17 Jun 2011 03:58:04 +0000 (05:58 +0200)]
cssprovider: Store sections with parsed values
Also create a separate section for values to associate the values with.
Finally, use this section information when delayed-parsing a widget
style property.
Benjamin Otte [Fri, 17 Jun 2011 03:15:48 +0000 (05:15 +0200)]
cssprovider: Handle non-NULL-terminated data
Do a dumb copy if that happens.
Benjamin Otte [Fri, 17 Jun 2011 02:52:43 +0000 (04:52 +0200)]
cssprovider: Keep only the curent section while parsing
We don't need a list of sections, the section can give us the parent
when we need it (d'oh).
Benjamin Otte [Fri, 17 Jun 2011 02:40:17 +0000 (04:40 +0200)]
cssprovider: Remove dead code
The code isn't used anymore since the introduction of rulesets.
Benjamin Otte [Fri, 17 Jun 2011 00:02:24 +0000 (02:02 +0200)]
API: css: Add GtkCssSection
This struct keeps track of an area of text in a CSS file and uses it
when specifying information. Also, the cssprovider keeps track of
sections when parsing a file.
Colin Walters [Thu, 25 Aug 2011 18:47:21 +0000 (14:47 -0400)]
Squash two compilation warnings about possibly-uninitialzed
Yuri Myasoedov [Thu, 25 Aug 2011 18:05:07 +0000 (22:05 +0400)]
Updated Russian translation
Ryan Lortie [Sat, 13 Aug 2011 14:09:28 +0000 (10:09 -0400)]
Signalify (already existing) GtkMenuShell.insert()
gtk_menu_shell_insert() is a virtual function that was being directly
invoked from the class vtable.
Turn it into a proper signal and emit it in the usual way.
https://bugzilla.gnome.org/show_bug.cgi?id=656565
Javier Jardón [Thu, 25 Aug 2011 11:19:47 +0000 (12:19 +0100)]
gtk+.doap: Add some more info
Fran Dieguez [Wed, 24 Aug 2011 19:03:09 +0000 (21:03 +0200)]
Updated Galician translations
Daniel Mustieles [Wed, 24 Aug 2011 17:58:42 +0000 (19:58 +0200)]
Updated Spanish translation
Daniel Mustieles [Wed, 24 Aug 2011 17:58:14 +0000 (19:58 +0200)]
Updated Spanish translation
Kjartan Maraas [Wed, 24 Aug 2011 16:54:00 +0000 (18:54 +0200)]
Updated Norwegian bokmål translation
Chun-wei Fan [Fri, 19 Aug 2011 07:39:24 +0000 (15:39 +0800)]
Update gtk/Makefile.am
Distribute fallback implementation source file for rint()/round()
Matthias Clasen [Wed, 24 Aug 2011 12:16:03 +0000 (08:16 -0400)]
Use a weak ref in GtkAccelLabel
GtkAccelLabel was holding a strong reference on its parent,
which could, depending on the circumstances, lead to leaks.
https://bugzilla.gnome.org/show_bug.cgi?id=344858
Matthias Clasen [Wed, 24 Aug 2011 11:58:21 +0000 (07:58 -0400)]
Trivial: whitespace fixes
Matthias Clasen [Wed, 24 Aug 2011 11:56:13 +0000 (07:56 -0400)]
Trivial: Silence a compiler warning
Matthias Clasen [Wed, 24 Aug 2011 11:54:58 +0000 (07:54 -0400)]
Trivial: Silence a compiler warning
Matthias Clasen [Wed, 24 Aug 2011 11:46:35 +0000 (07:46 -0400)]
GtkColorButton: Don't forget to close a cairo context
Patch by Jerome Lambourg, bug 655392.
Daniel Nylander [Wed, 24 Aug 2011 07:22:23 +0000 (09:22 +0200)]
Updated Swedish translation
Matthias Clasen [Wed, 24 Aug 2011 04:49:59 +0000 (00:49 -0400)]
GtkFontChooserDialog: Select when a list item is activated
This is the expected behavior.
Matthias Clasen [Wed, 24 Aug 2011 04:49:16 +0000 (00:49 -0400)]
GtkFontChooser: Add a ::font-activated signal
This signal gets emitted when a font in the list is activated.
Matthias Clasen [Wed, 24 Aug 2011 04:32:20 +0000 (00:32 -0400)]
GtkAppChooserDialog: remove an unused variable
Matthias Clasen [Wed, 24 Aug 2011 04:11:32 +0000 (00:11 -0400)]
GtkAppChooserDialog: Simplify the construction
We do the same in other places.
Matthias Clasen [Wed, 24 Aug 2011 04:10:34 +0000 (00:10 -0400)]
GtkAppChooserButton: Make activating rows work as expected
When a row is activated in the 'Other...' dialog, we have
to make sure the dialog goes away.
Matthias Clasen [Wed, 24 Aug 2011 03:29:19 +0000 (23:29 -0400)]
GtkSwitch: Return FALSE from the button press handler
This makes the behavior identical to other widgets which
handle button presses, and it avoids problems when placing
switches into a windows main toolbar.
https://bugzilla.gnome.org/show_bug.cgi?id=656986
Arx Cruz [Thu, 4 Aug 2011 18:34:16 +0000 (15:34 -0300)]
[filechooser] bgo#349502: Context menu option to copy selected files to the clipboard
Piotr Drąg [Tue, 23 Aug 2011 20:28:43 +0000 (22:28 +0200)]
Updated POTFILES.in
Gabor Kelemen [Tue, 23 Aug 2011 20:18:37 +0000 (22:18 +0200)]
Add tests/*ui to POTFILES.skip
Gabor Kelemen [Tue, 23 Aug 2011 20:16:09 +0000 (22:16 +0200)]
There is no need for [type: ...] tags in POTFILES.skip
Daniel Mustieles [Tue, 23 Aug 2011 20:04:04 +0000 (22:04 +0200)]
Fixed POTFILES.in (error in D-L)
Daniel Mustieles [Tue, 23 Aug 2011 19:56:15 +0000 (21:56 +0200)]
Fixed POTFILES.in (error in D-L)
Daniel Mustieles [Tue, 23 Aug 2011 19:55:04 +0000 (21:55 +0200)]
Fixed POTFILES.in (error in D-L)
Daniel Mustieles [Tue, 23 Aug 2011 19:52:16 +0000 (21:52 +0200)]
Fixed bug #657146
Piotr Drąg [Tue, 23 Aug 2011 17:54:06 +0000 (19:54 +0200)]
Updated POTFILES.in
Мирослав Николић [Tue, 23 Aug 2011 17:15:48 +0000 (19:15 +0200)]
Updated Serbian translation
Matthias Clasen [Tue, 23 Aug 2011 14:16:34 +0000 (10:16 -0400)]
Change 'Ok' to 'Select' in the color chooser dialog
We have meaningful labels for the Ok buttons in all other choosers,
so just use the same string we use in the app chooser and the
font chooser.
Also move the mnemonic from s to a in 'Saturation', to avoid a
mnemonic conflict. String change !
https://bugzilla.gnome.org/show_bug.cgi?id=657006
Matthias Clasen [Tue, 23 Aug 2011 14:08:33 +0000 (10:08 -0400)]
Add a mnemonic to the 'Select' button
This makes the string the same as in the app chooser dialog.
Sweta Kothari [Tue, 23 Aug 2011 09:16:57 +0000 (14:46 +0530)]
Updated Gujarati Translations
Andika Triwidada [Mon, 22 Aug 2011 22:32:59 +0000 (05:32 +0700)]
Updated Indonesian translation
Daniel Nicoara [Mon, 22 Aug 2011 20:31:27 +0000 (16:31 -0400)]
wayland: Acquire cairo device during operations that need the GL context
Kristian Høgsberg [Mon, 22 Aug 2011 18:54:12 +0000 (14:54 -0400)]
wayland: We need to require egl as well
Kristian Rietveld [Mon, 22 Aug 2011 19:26:44 +0000 (21:26 +0200)]
Fix typo in doc comment
Kristian Rietveld [Sat, 20 Aug 2011 19:51:49 +0000 (21:51 +0200)]
Add forgotten calls to signal_monitor_assert_is_empty()