]> Pileus Git - ~andy/gtk/log
~andy/gtk
11 years agolabel: Fix memleak
Carl-Anton Ingmarsson [Tue, 12 Mar 2013 19:22:18 +0000 (20:22 +0100)]
label: Fix memleak

Caused by recent refactoring in e09957a47da9425cc26d1b33cb4e9cc3e92e9ac7

11 years ago[l10n] Updated Catalan translation
Gil Forcada [Tue, 12 Mar 2013 18:51:17 +0000 (19:51 +0100)]
[l10n] Updated Catalan translation

11 years agostylecontext: If we force invalidate, invalidate all properties
Benjamin Otte [Tue, 12 Mar 2013 11:44:03 +0000 (12:44 +0100)]
stylecontext: If we force invalidate, invalidate all properties

We only FORCE_INVALIDATE when something weird changes that the CSS
machinery can't detect. But now that our style_updated functions skip
recomputations when some properties don't change we want to make sure
these recomputations are still run. So we just claim all properties
changed.

http://bugzilla.gnome.org/show_bug.cgi?id=695482

11 years agolabel: refactor code
Benjamin Otte [Tue, 12 Mar 2013 11:43:14 +0000 (12:43 +0100)]
label: refactor code

If text didn't change, don't change it.

And if that sentence made no sense, that might explain why I refactored.

11 years agocombobox: popdown the combobox when on 'grab-broken-event'
Aleksander Morgado [Wed, 6 Mar 2013 12:16:12 +0000 (13:16 +0100)]
combobox: popdown the combobox when on 'grab-broken-event'

And also explicitly remove pointer/keyboard grabs from the display.

Whenever the grab is reported lost, we should popdown the combobox, so that the
GDK_WINDOW_TEMP window is hidden and removed from the toplevel, as done with
the menu for example.

Leaving the GDK_WINDOW_TEMP window open when re-activating the application
triggers several issues in the win32 backend, due to restacking windows of the
non-toplevel group into the toplevel group:

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

11 years agodocs: Disable GtkPlug/GtkSocket docs on Wayland
Bastien Nocera [Tue, 12 Mar 2013 07:33:57 +0000 (08:33 +0100)]
docs: Disable GtkPlug/GtkSocket docs on Wayland

As those two types do not exist in the Wayland backend,
and the docs build would fail.

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

11 years agofilechooserbutton: During unselect_all(), update the widgets in all situations
Federico Mena Quintero [Tue, 12 Mar 2013 00:12:23 +0000 (18:12 -0600)]
filechooserbutton: During unselect_all(), update the widgets in all situations

Not just if we thought we had a selection.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
11 years agofilechooserbutton: Add tests for unselect_all()
Federico Mena Quintero [Mon, 11 Mar 2013 23:32:28 +0000 (17:32 -0600)]
filechooserbutton: Add tests for unselect_all()

These all pass except one.

11 years agofilechooserbutton: HACK: Set a reasonable size for the dialog in the tests' second...
Federico Mena Quintero [Mon, 11 Mar 2013 23:27:44 +0000 (17:27 -0600)]
filechooserbutton: HACK: Set a reasonable size for the dialog in the tests' second iteration

Something is causing the GtkFileChooserDialog to be resized really small on the second time it is run
during each test for GtkFileChooserButton.  So as a temporary hack we set it to 500x500 pixels on
the second run, so the size allocation code doesn't bomb on us.

11 years agogtkfilechooserbutton: In tests, allow the possibility of doing unselect_all
Federico Mena Quintero [Mon, 11 Mar 2013 23:11:34 +0000 (17:11 -0600)]
gtkfilechooserbutton: In tests, allow the possibility of doing unselect_all

11 years agofilechooserbutton: When the combo box changes, set the *file*, not the current folder
Federico Mena Quintero [Mon, 11 Mar 2013 22:48:17 +0000 (16:48 -0600)]
filechooserbutton: When the combo box changes, set the *file*, not the current folder

The currently-selected file *is* the selection even in SELECT_FOLDER mode.  Do not confuse this
with the current folder.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
11 years agoPunjabi: Translation updated (aalam)
A S Alam [Mon, 11 Mar 2013 14:26:55 +0000 (19:56 +0530)]
Punjabi: Translation updated (aalam)

11 years agoUpdated Serbian translation
Мирослав Николић [Mon, 11 Mar 2013 10:34:40 +0000 (11:34 +0100)]
Updated Serbian translation

11 years ago[l10n] Updated German translation
Mario Blättermann [Mon, 11 Mar 2013 07:48:10 +0000 (08:48 +0100)]
[l10n] Updated German translation

11 years ago[l10n] Updated German translation
Mario Blättermann [Mon, 11 Mar 2013 07:46:58 +0000 (08:46 +0100)]
[l10n] Updated German translation

11 years agoUpdated Indonesian translation of po-properties
Andika Triwidada [Mon, 11 Mar 2013 05:47:31 +0000 (12:47 +0700)]
Updated Indonesian translation of po-properties

11 years agoUpdated Indonesian translation
Andika Triwidada [Mon, 11 Mar 2013 05:07:24 +0000 (12:07 +0700)]
Updated Indonesian translation

11 years agoFix typo reqired -> required
Sébastien Wilmet [Sun, 10 Mar 2013 16:22:26 +0000 (17:22 +0100)]
Fix typo reqired -> required

11 years agoUpdated Brazilian Portuguese translation
Enrico Nicoletto [Sat, 9 Mar 2013 23:52:10 +0000 (20:52 -0300)]
Updated Brazilian Portuguese translation

11 years agoUpdated Brazilian Portuguese translation
Enrico Nicoletto [Sat, 9 Mar 2013 23:12:05 +0000 (20:12 -0300)]
Updated Brazilian Portuguese translation

Conflicts:
po-properties/pt_BR.po

11 years agoUpdated Brazilian Portuguese translation
Enrico Nicoletto [Sat, 9 Mar 2013 22:20:22 +0000 (19:20 -0300)]
Updated Brazilian Portuguese translation

11 years agotreeview: fix a critical warning
Cosimo Cecchi [Fri, 8 Mar 2013 22:56:08 +0000 (17:56 -0500)]
treeview: fix a critical warning

gtk_tree_view_column_unset_tree_view() resets column->priv->tree_view to
NULL.
The function is called when a column is removed, but later from the same
function we would call _gtk_tree_view_column_unrealize_button(), which
expects column->priv->tree_view to be != NULL, causing these critical
warnings

Gtk-CRITICAL **: gtk_widget_unregister_window: assertion
`GTK_IS_WIDGET (widget)' failed

This commit moves the call to unset the tree view after the button is
unrealized.

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

11 years agodocs: change id for Wayland section to not conflict with OS X
Evan Nemerson [Thu, 7 Mar 2013 19:32:11 +0000 (11:32 -0800)]
docs: change id for Wayland section to not conflict with OS X

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

11 years agoAvoid a warning under Wayland
Matthias Clasen [Sat, 9 Mar 2013 00:44:34 +0000 (19:44 -0500)]
Avoid a warning under Wayland

Just having an ifdef is not enough, we need to check the type
of the window at runtime.

11 years agoUpdated Polish translation
Piotr Drąg [Fri, 8 Mar 2013 19:38:32 +0000 (20:38 +0100)]
Updated Polish translation

11 years agoUpdated POTFILES.in
Piotr Drąg [Fri, 8 Mar 2013 19:32:48 +0000 (20:32 +0100)]
Updated POTFILES.in

11 years agofilechooserbutton: Update the combo box even after the dialog is cancelled
Federico Mena Quintero [Fri, 8 Mar 2013 18:43:10 +0000 (12:43 -0600)]
filechooserbutton: Update the combo box even after the dialog is cancelled

We assumed that we didn't have to update the combo box if the dialog got cancelled,
as it should simply retain its previous contents.  But this assumption doesn't work
as the dialog is brought up with the 'Other...' item - we don't want the
combo box to keep showing 'Other...' if the dialog is cancelled.

The test from the previous commit now passes.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
11 years agofilechooserbutton: New test for opening the Other item in the combo box and then...
Federico Mena Quintero [Fri, 8 Mar 2013 18:37:20 +0000 (12:37 -0600)]
filechooserbutton: New test for opening the Other item in the combo box and then canceling the dialog

There is this bug:

1. Start with a file chooser button in SELECT_FOLDER mode, and select a folder from the combo box.

2. Click on the button's combo box, select 'Other...'

3. You get the file chooser dialog. Cancel the dialog.

4. The file chooser button's combo box still shows 'Other...' instead of
   showing the selection from (1).

This is a test to ensure that the original selection is restored.
The test fails right now.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
11 years agoFix the build
Matthias Clasen [Fri, 8 Mar 2013 11:26:15 +0000 (06:26 -0500)]
Fix the build

This was broken in commit 5bbbc47a4c306653e8347f7afb85a940a503f755

11 years agospinbutton: don't override initial text in non-numeric-only spin buttons
Aleksander Morgado [Wed, 6 Mar 2013 18:16:25 +0000 (19:16 +0100)]
spinbutton: don't override initial text in non-numeric-only spin buttons

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

11 years agofilechooserbutton: Don't show the (None) item when the combo box is popped up
Federico Mena Quintero [Thu, 7 Mar 2013 23:20:16 +0000 (17:20 -0600)]
filechooserbutton: Don't show the (None) item when the combo box is popped up

This is surprisingly tricky, since the (None) item *has* to be a visible item while
the combo box is *not* popped up, so that it can show its contents.  But the item
has to be *not* visible when the combo box is popped up.

Also, update the whole button's selection, not just the underlying dialog's, when
the combo box changes its selection - based on a patch by Paul Davis in
https://bugzilla.gnome.org/show_bug.cgi?id=691040#c20

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
11 years agofilechooserbutton: In SELECT_FOLDER, when the selection is empty, show (None) in...
Federico Mena Quintero [Thu, 7 Mar 2013 20:14:47 +0000 (14:14 -0600)]
filechooserbutton: In SELECT_FOLDER, when the selection is empty, show (None) in the combo box

We do this by adding a new row type, ROW_TYPE_EMPTY_SELECTION.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
11 years agofilechooserbutton: Update the button/combo at construction time
Federico Mena Quintero [Thu, 7 Mar 2013 19:50:34 +0000 (13:50 -0600)]
filechooserbutton: Update the button/combo at construction time

This way the internal labels will show the correct selection even if nothing
has been selected programmatically.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
11 years agofilechooserbutton: Update the button/combo whenever the selection is changed programm...
Federico Mena Quintero [Thu, 7 Mar 2013 19:44:33 +0000 (13:44 -0600)]
filechooserbutton: Update the button/combo whenever the selection is changed programmatically

We didn't change it when the file chooser button's dialog was inactive, and so
the actual file chooser button would not visually reflect the current selection.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
11 years agofilechooserbutton: Test that the expected filename is shown
Federico Mena Quintero [Thu, 7 Mar 2013 18:53:00 +0000 (12:53 -0600)]
filechooserbutton: Test that the expected filename is shown

We do some gymnastics to pull the string out of the GtkButton or the GtkComboBox that is
being used in GtkFileChooserButton to show the current selection when the dialog
is inactive - namely, we look for the subwidget with the correct ATK role, and pull its
accessible name.

Currently the test fails; this is https://bugzilla.gnome.org/show_bug.cgi?id=691040#c18

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
11 years agoDon't mention gtk_set_locale() in docs; this function does not exist
Federico Mena Quintero [Thu, 7 Mar 2013 19:12:10 +0000 (13:12 -0600)]
Don't mention gtk_set_locale() in docs; this function does not exist

11 years agoFinnish translation update by Jiri Grönroos
Ville-Pekka Vainio [Thu, 7 Mar 2013 19:09:45 +0000 (21:09 +0200)]
Finnish translation update by Jiri Grönroos

11 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Thu, 7 Mar 2013 14:18:53 +0000 (11:18 -0300)]
Updated Brazilian Portuguese translation

11 years agoUpdated Kazakh translation.
Baurzhan Muftakhidinov [Thu, 7 Mar 2013 14:13:04 +0000 (20:13 +0600)]
Updated Kazakh translation.

11 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Thu, 7 Mar 2013 14:13:44 +0000 (17:13 +0300)]
Updated Belarusian translation.

11 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Thu, 7 Mar 2013 13:42:05 +0000 (10:42 -0300)]
Updated Brazilian Portuguese translation

11 years agoUpdate Arabic translation
Khaled Hosny [Thu, 7 Mar 2013 09:45:27 +0000 (11:45 +0200)]
Update Arabic translation

11 years agoprinting: Fix build with -Werror=format-security
Rico Tzschichholz [Wed, 6 Mar 2013 21:26:21 +0000 (22:26 +0100)]
printing: Fix build with -Werror=format-security

11 years agoGtkTextView: don't popdown a bubble if we don't have one
Giovanni Campagna [Wed, 6 Mar 2013 16:04:23 +0000 (17:04 +0100)]
GtkTextView: don't popdown a bubble if we don't have one

This causes a segfault.

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

11 years agoGtkEntry: Sanity check the end_pos value in _get_display_text()
Bastien Nocera [Wed, 6 Mar 2013 14:47:43 +0000 (15:47 +0100)]
GtkEntry: Sanity check the end_pos value in _get_display_text()

11 years agoGtkLabelAccessible: Sanity check _get_text() input values
Bastien Nocera [Wed, 6 Mar 2013 14:46:51 +0000 (15:46 +0100)]
GtkLabelAccessible: Sanity check _get_text() input values

11 years agogdk/win32/gdkevents-win32.c: Fix build
Chun-wei Fan [Wed, 6 Mar 2013 08:47:32 +0000 (16:47 +0800)]
gdk/win32/gdkevents-win32.c: Fix build

The variable "display" is not defined, causing the build to fail.
Judging from the code, it seems that it should be _gdk_display instead.

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

11 years agoquartz: Null check title before setting it
Alan McGovern [Wed, 6 Mar 2013 11:06:09 +0000 (11:06 +0000)]
quartz: Null check title before setting it

This avoids a crash in objective-c.

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

11 years agoUpdate Visual Studio Solution Files
Chun-wei Fan [Wed, 6 Mar 2013 05:14:02 +0000 (13:14 +0800)]
Update Visual Studio Solution Files

Integrate the utility projects to build the introspection files into the
main solution files, so that one can build the introspection files from the
IDE.  This is not built by default, so one can build the introspection
files if he/she chooses to do so.

11 years agoVisual Studio Builds: Support Building Introspection Files
Chun-wei Fan [Wed, 6 Mar 2013 05:12:01 +0000 (13:12 +0800)]
Visual Studio Builds: Support Building Introspection Files

Add Windows .bat and Python script to call g-ir-scanner to build
introspection files for Visual Studio builds.  This will read from the
autotools files using Python REGEX functionality to determine the headers
and sources for g-ir-scanner to process, so the autotools files will not
need to be updated except to distribute the necessary files.  Thils will
also enable one to build introspection files on Windows without using a
BASH-style shell such as MSYS.

Also add an utility Visual Studio project to call the Windows .bat to
build the introspection files for GTK+/GDK, for convenience.

11 years agopo: Remove fuzzy tag for confirmed translations
Timothy Arceri [Tue, 5 Mar 2013 23:42:35 +0000 (17:42 -0600)]
po: Remove fuzzy tag for confirmed translations

11 years agofilechooser: Use _gtk_file_has_native_path() throughout when testing for local_only
Federico Mena Quintero [Tue, 5 Mar 2013 23:17:00 +0000 (17:17 -0600)]
filechooser: Use _gtk_file_has_native_path() throughout when testing for local_only

In the case of checking for local_only, g_file_is_native() is not useful, since it
will return FALSE for something in a FUSE mount.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
11 years agofilechooser: Also convert get_uris() to returning native paths
Federico Mena Quintero [Tue, 5 Mar 2013 20:20:12 +0000 (14:20 -0600)]
filechooser: Also convert get_uris() to returning native paths

It was only being done in gtk_file_chooser_get_uri().

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
11 years agofilechooser: Rename _gtk_file_is_path_not_local() to _gtk_file_has_native_path()
Federico Mena Quintero [Tue, 5 Mar 2013 19:59:04 +0000 (13:59 -0600)]
filechooser: Rename _gtk_file_is_path_not_local() to _gtk_file_has_native_path()

Negatives in names of boolean functions are confusing.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
11 years agofilechooser: Show FUSE mounted locations in shortcuts
Timothy Arceri [Sun, 18 Nov 2012 08:39:11 +0000 (19:39 +1100)]
filechooser: Show FUSE mounted locations in shortcuts

Since FUSE locations can be handled safely by applications show these mounted locations regardless of whether gtk_file_chooser_set_local_only()
is set to TRUE

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

11 years agoPost-release bump
Matthias Clasen [Tue, 5 Mar 2013 22:07:21 +0000 (17:07 -0500)]
Post-release bump

11 years ago3.7.12
Matthias Clasen [Tue, 5 Mar 2013 21:49:44 +0000 (16:49 -0500)]
3.7.12

11 years agoGtkBubbleWindow: use OSD style class
Cosimo Cecchi [Tue, 5 Mar 2013 16:38:05 +0000 (11:38 -0500)]
GtkBubbleWindow: use OSD style class

11 years agoGtkBubbleWindow: rework how drawing is done
Cosimo Cecchi [Tue, 5 Mar 2013 16:13:54 +0000 (11:13 -0500)]
GtkBubbleWindow: rework how drawing is done

Use gtk_render_frame_gap(), refactoring the code fetching coordinates to
be usable by it. This allows for rounded corners in the window shape.

11 years agoGtkBubbleWindow: allocate CSS borders and paddings
Cosimo Cecchi [Tue, 5 Mar 2013 15:55:41 +0000 (10:55 -0500)]
GtkBubbleWindow: allocate CSS borders and paddings

11 years agoRename property to be more neutral
Matthias Clasen [Fri, 1 Mar 2013 23:25:12 +0000 (18:25 -0500)]
Rename property to be more neutral

Don't put toolbar in the name of the property - we may use
a different container down the road, and then this name
would be misleading.

11 years agoReally keep GtkBubbleWindow private
Matthias Clasen [Fri, 1 Mar 2013 22:53:28 +0000 (17:53 -0500)]
Really keep GtkBubbleWindow private

_-prefix the symbols to keep them from leaking out.
Also, un-doc-commentize the sources.

11 years agoSmall documentation tweak
Matthias Clasen [Fri, 1 Mar 2013 22:26:16 +0000 (17:26 -0500)]
Small documentation tweak

11 years agoPopdown the bubble window when text view is scrolled
Matthias Clasen [Fri, 1 Mar 2013 22:19:39 +0000 (17:19 -0500)]
Popdown the bubble window when text view is scrolled

11 years agoAllow to populate bubbles with extra content
Matthias Clasen [Wed, 6 Feb 2013 06:20:02 +0000 (01:20 -0500)]
Allow to populate bubbles with extra content

We do this by making the ::populate-popup signals a little more
flexible. They used to just accept a GtkMenu as argument, now
they can take a menu or a toolbar. To not break the expectations
of existing callbacks, we only emit ::populate-popup with a toolbar
if the :populate-toolbar property is TRUE.

11 years agoDrop GtkSelectionWindow
Matthias Clasen [Wed, 6 Feb 2013 05:47:05 +0000 (00:47 -0500)]
Drop GtkSelectionWindow

It is no longer used.

11 years agoDo without GtkSelectionWindow
Matthias Clasen [Wed, 6 Feb 2013 05:45:45 +0000 (00:45 -0500)]
Do without GtkSelectionWindow

Just populate a toolbar directly, in GtkEntry and GtkTextView.

11 years agoFix a typo
Matthias Clasen [Wed, 6 Feb 2013 05:46:31 +0000 (00:46 -0500)]
Fix a typo

11 years agoMade GtkBubble/SelectionWindow private at the moment
Carlos Garnacho [Fri, 18 Jan 2013 17:02:04 +0000 (18:02 +0100)]
Made GtkBubble/SelectionWindow private at the moment

11 years agoUse gdk_threads_add_timeout to popup the selection window
Carlos Garnacho [Fri, 18 Jan 2013 16:55:04 +0000 (17:55 +0100)]
Use gdk_threads_add_timeout to popup the selection window

Second granularity may bite us back there

11 years agoFix includes
Matthias Clasen [Fri, 18 Jan 2013 02:49:24 +0000 (21:49 -0500)]
Fix includes

gtkbubblewindow.h was including gtk.h, which in turn included
gtkselectionwindow.h, leading to build failure.

11 years agoDon't allow individual #includes for GtkBubble/SelectionWindow
Carlos Garnacho [Wed, 16 Jan 2013 14:38:40 +0000 (15:38 +0100)]
Don't allow individual #includes for GtkBubble/SelectionWindow

11 years agoGtkBubbleWindow: Use style border color to stroke the bubble shape
Carlos Garnacho [Tue, 15 Jan 2013 16:32:42 +0000 (17:32 +0100)]
GtkBubbleWindow: Use style border color to stroke the bubble shape

This improves themeability a bit, corners are still square though...

11 years agotextview: Use GtkSelectionWindow for touch text selection
Carlos Garnacho [Fri, 11 Jan 2013 16:37:02 +0000 (17:37 +0100)]
textview: Use GtkSelectionWindow for touch text selection

This enables touch devices to manipulate the text selection

11 years agoentry: Use GtkSelectionWindow for touch text selection
Carlos Garnacho [Fri, 11 Jan 2013 16:35:32 +0000 (17:35 +0100)]
entry: Use GtkSelectionWindow for touch text selection

This enables touch devices to manipulate the text selection

11 years agoAdd GtkSelectionWindow
Carlos Garnacho [Fri, 11 Jan 2013 16:34:42 +0000 (17:34 +0100)]
Add GtkSelectionWindow

This is a helper object to provide context-dependent content
edition apt for touch devices.

11 years agoAdd GtkBubbleWindow
Carlos Garnacho [Fri, 11 Jan 2013 16:32:08 +0000 (17:32 +0100)]
Add GtkBubbleWindow

This popup window widget can be used for touch friendly context
menus that point to a concrete area.

11 years agotexthandle: Set a bigger input shape, covering the line height
Carlos Garnacho [Fri, 11 Jan 2013 16:22:02 +0000 (17:22 +0100)]
texthandle: Set a bigger input shape, covering the line height

Now, even if the handles being rendered are small, the handle touch
input shape will be as wide as the visible part of the rendered asset, and
high enough to cover both the handle and the height of the line where
the selection bound is.

Also, make handles have the same virtual distance to the line top/bottom
when a drag starts, so the handle doesn't jump to another line after a
too short threshold.

11 years agoEnsure the insertion handle stays on fake events (eg from IM)
Carlos Garnacho [Wed, 21 Nov 2012 15:49:37 +0000 (16:49 +0100)]
Ensure the insertion handle stays on fake events (eg from IM)

Don't set handles mode to none if the event has send_event set.
For consistency with GtkEntry, also make GtkTextView keep the
handle mode on buffer changes.

11 years agotexthandles: Keep state internally to avoid X overhead
Carlos Garnacho [Wed, 7 Nov 2012 13:23:04 +0000 (14:23 +0100)]
texthandles: Keep state internally to avoid X overhead

Handles now do sync X calls less often. As visibility state
is kept, it now can move+resize+show handles at once instead
of in separated steps.

11 years agoUpdated Czech translation
Marek Černocký [Tue, 5 Mar 2013 14:11:59 +0000 (15:11 +0100)]
Updated Czech translation

11 years agoUpdated Czech translation
Marek Černocký [Tue, 5 Mar 2013 14:07:06 +0000 (15:07 +0100)]
Updated Czech translation

11 years agoentrycompletion: Don't reconnect signals all the time
Benjamin Otte [Tue, 5 Mar 2013 12:09:10 +0000 (13:09 +0100)]
entrycompletion: Don't reconnect signals all the time

We block signal handlers areound GtkEntry signal emission and if those
signals get used to call functions on the completion that cause a
reconnection of the signals, then the reconnected signals will not be
blocked anymore (so they might get emitted?) and unblocking the old
signal id will later cause warnings.

Fixes spurious warnings in gtk/tests/filechooser tests.

11 years agoa11y: Emit active-descendants-changed when focus changes
Benjamin Otte [Tue, 5 Mar 2013 10:55:28 +0000 (11:55 +0100)]
a11y: Emit active-descendants-changed when focus changes

This fixes the a11y/tree-relationships testcase.

The emission was lost in refactoring in commit
76670734f4330acc28c3c1d885ef944e85beb36e

11 years agoUpdated Thai translation
Theppitak Karoonboonyanan [Tue, 5 Mar 2013 09:02:19 +0000 (16:02 +0700)]
Updated Thai translation

11 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Tue, 5 Mar 2013 03:49:11 +0000 (00:49 -0300)]
Updated Brazilian Portuguese translation

11 years agoUpdated Brazilian Portuguese translation proofread by Enrico Nicoletto
Rafael Ferreira [Tue, 5 Mar 2013 02:59:16 +0000 (23:59 -0300)]
Updated Brazilian Portuguese translation proofread by Enrico Nicoletto

11 years agox11: Remove unused macro
Ross Lagerwall [Thu, 21 Feb 2013 22:48:06 +0000 (22:48 +0000)]
x11: Remove unused macro

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

11 years agobin: initialize out variables to zero for get_preferred_ functions.
Alban Browaeys [Mon, 4 Mar 2013 15:22:00 +0000 (16:22 +0100)]
bin: initialize out variables to zero for get_preferred_ functions.

Fixes case of child not visible then minimum_width/heigth natural_width
/heigth not initialized. Thus caller gets a random value.

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

11 years agoclipboard: remove dead code
Aleksander Morgado [Fri, 1 Mar 2013 10:54:09 +0000 (11:54 +0100)]
clipboard: remove dead code

When setting contents of the clipboard and ownership or user data changes, we
end up calling clipboard_unset() to fully cleanup the previous clipboard state.
This call will itself call clear_func() for the previous user_data, and always
reset both 'get_func' and 'clear_func' to NULL.

So it's actually not possible to have 'get_func' being non-NULL once we have
called clipboard_unset(), so just remove that condition check and the code
inside.

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

11 years agoGtkColorChooserWidget: deselect swatch before removing palettes
Michael Hofmann [Sun, 17 Feb 2013 15:01:06 +0000 (16:01 +0100)]
GtkColorChooserWidget: deselect swatch before removing palettes

When adding custom palettes, set the current swatch to NULL if the
palette it is on is going to be removed.

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

11 years agogtkenums: correct various documentation typos
Will Thompson [Mon, 4 Mar 2013 22:47:21 +0000 (22:47 +0000)]
gtkenums: correct various documentation typos

11 years agodocs: correct various spelling and grammar errors
Will Thompson [Wed, 29 Feb 2012 17:19:55 +0000 (17:19 +0000)]
docs: correct various spelling and grammar errors

I noticed a few cases of "wether", and while fixing them noticed a few
"its" which should be "it's". It all went downhill from there.

11 years agoGtkIconTheme: fix regression from 0db32f0632ef4675bfcfc9ec201f7af157a48ab0
Giovanni Campagna [Mon, 4 Mar 2013 20:33:04 +0000 (21:33 +0100)]
GtkIconTheme: fix regression from 0db32f0632ef4675bfcfc9ec201f7af157a48ab0

icon_info_dup() is now called also for GtkIconInfos that already have
a pixbuf, so we must make sure that we correctly carry that from
the original icon_info to the copy.

11 years agoUpdated Polish translation
Piotr Drąg [Mon, 4 Mar 2013 20:12:54 +0000 (21:12 +0100)]
Updated Polish translation

11 years agoappchooserdialog: remove redundant checks
Cosimo Cecchi [Fri, 4 May 2012 21:53:54 +0000 (17:53 -0400)]
appchooserdialog: remove redundant checks

This is checked by GIO for us now.
Also, it's generally just a bad idea spawning error dialogs from inside
a library on top of other dialogs: lesson learned.

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

11 years agoGtkIconTheme: fix failed assertion when asynchrnously loading emblemed icons
Giovanni Campagna [Fri, 1 Mar 2013 22:45:43 +0000 (23:45 +0100)]
GtkIconTheme: fix failed assertion when asynchrnously loading emblemed icons

If you tried to lookup an icon that was not emblemed, and then looked up
an emblemed icon with the same base, we would override the iconinfo adding
the emblems inline. Later, when the icon finished rendering, inside
gtk_icon_info_load_icon_finish, we would copy the result from the duplicate
(which did not include the emblem infos), but the icon would still fail the
assertion, because emblems infos are present but emblem_applied is false
(they were not requested in the first place!).
Solve this by avoiding the overwrite on a cached iconinfo, and instead duplicate
the iconinfo before adding the emblems. It is expected that another layer
of caching (such as StTextureCache in gnome-shell) will take care of avoiding
multiple rendering of the same icon+emblem combination.

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

11 years agoprinting: Mark texts for translation correctly
Marek Kasik [Mon, 4 Mar 2013 11:00:49 +0000 (12:00 +0100)]
printing: Mark texts for translation correctly

Use _() instead of N_() for printer states. Mark connection
string "; " for translation so it is correctly handled for
right to left languages.

11 years agoprinting: Remove unnecessary break
Marek Kasik [Mon, 4 Mar 2013 13:34:21 +0000 (14:34 +0100)]
printing: Remove unnecessary break

Remove the first space when connecting multiple printer states
together.

Related to
https://bugzilla.gnome.org/show_bug.cgi?id=688956

11 years agoprinting: List Avahi printers
Marek Kasik [Mon, 4 Mar 2013 13:29:24 +0000 (14:29 +0100)]
printing: List Avahi printers

Show printers advertised by avahi on local network. CUPS
backend now looks for _ipps._tcp and _ipp._tcp services
offered by avahi. If it finds such a service (printer)
it requests its attributes through IPP_GET_PRINTER_ATTRIBUTES
ipp request and adds it to the list of printers. Such printer
behaves like a remote printer then.
If an avahi printer is a default printer then it is considered
default by the backend only if there is no local or remote
default printer.
This functionality is enabled when building Gtk+ with CUPS 1.6
or later because it replaces browsing protocol removed in CUPS 1.6.

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