summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2.15.2GTK_2_15_2Matthias Clasen2009-01-27214-9699/+10689
| | | | svn path=/trunk/; revision=22231
* Bug 322932 – Always show icons on panel menusMatthias Clasen2009-01-276-4/+118
| | | | | | | | | | * gtk/gtk.symbols: * gtk/gtkimagemenuitem.[hc]: Add a property to override the show-menu-images setting for individual menuitems. Patch by William Jon McCann. svn path=/trunk/; revision=22230
* Updated Finnish translationIlkka Tuohela2009-01-272-1775/+1770
| | | | svn path=/trunk/; revision=22229
* Updated Finnish translationIlkka Tuohela2009-01-272-1089/+1067
| | | | svn path=/trunk/; revision=22228
* Activate the action in a regular clicked handler instead of the defaultMatthias Clasen2009-01-272-29/+41
| | | | | | | | | * gtk/gtkbutton.c: Activate the action in a regular clicked handler instead of the default handler, to make it work with derived classes which don't chain up their clicked handler. svn path=/trunk/; revision=22227
* Add bug refMatthias Clasen2009-01-271-0/+3
| | | | svn path=/trunk/; revision=22226
* Block the previous action when calling reset() to prevent accidentalMatthias Clasen2009-01-274-7/+28
| | | | | | | | | | | | | | * gtk/gtkactivatable.c (gtk_activatable_do_set_related_action): Block the previous action when calling reset() to prevent accidental activation of the previous action. * gtk/gtkaction.c (gtk_action_activate): Don't compare booleans. * gtk/gtktoggleaction.c (gtk_toggle_action_set_active): Remove extraneous braces. svn path=/trunk/; revision=22225
* Bug 569240 - Crasher when using markersBastien Nocera2009-01-262-0/+9
| | | | | | | | | | | | 2009-01-26 Bastien Nocera <hadess@hadess.net> Bug 569240 - Crasher when using markers * gtk/gtkrange.c (gtk_range_destroy): Avoid crashes when destroying a GtkRange with markers svn path=/trunk/; revision=22224
* Bug 566628 – gdk_display_close always asserts on win32 and quartzRichard Hult2009-01-262-1/+10
| | | | | | | | | | | | | 2009-01-26 Richard Hult <richard@imendio.com> Bug 566628 – gdk_display_close always asserts on win32 and quartz * gdk/quartz/gdkdisplay-quartz.c (_gdk_windowing_set_default_display): Copy fix for bug #566628 from the win32 backend: Allow also a NULL parameter in the g_assert(). svn path=/trunk/; revision=22223
* More action-related fixesMatthias Clasen2009-01-266-10/+35
| | | | svn path=/trunk/; revision=22218
* Set draw-as-radio to TRUEMatthias Clasen2009-01-252-6/+12
| | | | svn path=/trunk/; revision=22217
* Bug 563576 – Dummy po files break the buildClaudio Saavedra2009-01-252-4/+10
| | | | | | | | | | | 2009-01-25 Claudio Saavedra <csaavedra@igalia.com> Bug 563576 – Dummy po files break the build * ast.po: copy contact data from po/ast.po, patch from Adrian Bunk svn path=/trunk/; revision=22216
* Updated Spanish translationJorge Gonzalez Gonzalez2009-01-252-5/+9
| | | | svn path=/trunk/; revision=22215
* Revert changes for bug 567124. Instead of trying to avoidMatthias Clasen2009-01-254-12/+16
| | | | | | | | | | | | | setting up the im context before the widget is realized, just reset it when the client window is set. * gtk/gtkimmulticontext.c: Reset the slave when a client window is set. * gtk/gtkimmodule.c * gtk/gtktextview.c: Revert changes for bug 567124. svn path=/trunk/; revision=22214
* Use gtk-doc syntax to refer to properties in the docstrings.Claudio Saavedra2009-01-242-4/+9
| | | | | | | | | | 2009-01-25 Claudio Saavedra <csaavedra@igalia.com> * gtk/gtktreeview.c: Use gtk-doc syntax to refer to properties in the docstrings. svn path=/trunk/; revision=22213
* More docstrings improvements regarding reorderable property.Claudio Saavedra2009-01-242-2/+9
| | | | | | | | | | 2009-01-25 Claudio Saavedra <csaavedra@igalia.com> * gtk/gtkiconview.c: More docstrings improvements regarding reorderable property. svn path=/trunk/; revision=22212
* Bug 559420 – gtk_icon_view_enable_model_drag_[source|dest] docs wrt.Claudio Saavedra2009-01-242-5/+17
| | | | | | | | | | | | | 2009-01-24 Claudio Saavedra <csaavedra@igalia.com> Bug 559420 – gtk_icon_view_enable_model_drag_[source|dest] docs wrt. reorderable property * gtk/gtkiconview.c: Improve docstrings regarding reorderable property. Based on a patch by Björn Lindqvist. svn path=/trunk/; revision=22211
* Fallback from stock ids to icon names like the old GtkAction code didMatthias Clasen2009-01-242-7/+16
| | | | svn path=/trunk/; revision=22210
* Test icon names in actions with toolitemsMatthias Clasen2009-01-242-1/+9
| | | | svn path=/trunk/; revision=22209
* Don't update blank cursorsMatthias Clasen2009-01-242-4/+12
| | | | svn path=/trunk/; revision=22208
* improve ::search-column property description.Claudio Saavedra2009-01-242-1/+6
| | | | | | | | | | 2009-01-24 Claudio Saavedra <csaavedra@igalia.com> * gtk/gtktreeview.c: (gtk_tree_view_class_init): improve ::search-column property description. svn path=/trunk/; revision=22207
* Updated Spanish translationJorge Gonzalez Gonzalez2009-01-242-1691/+1720
| | | | svn path=/trunk/; revision=22206
* Fix bug #568859.Andre Klapper2009-01-242-1/+5
| | | | | | | | | 2009-01-24 Andre Klapper <a9016009@gmx.de> * de.po: Fix bug #568859. svn path=/trunk/; revision=22205
* bump versionMatthias Clasen2009-01-232-1/+5
| | | | svn path=/trunk/; revision=22204
* 2.15.1GTK_2_15_1Matthias Clasen2009-01-23224-124402/+249680
| | | | svn path=/trunk/; revision=22202
* Doc fixesMatthias Clasen2009-01-232-3/+10
| | | | svn path=/trunk/; revision=22201
* Add GtkActivatableIface, tooMatthias Clasen2009-01-232-0/+6
| | | | svn path=/trunk/; revision=22200
* Fix the section docsMatthias Clasen2009-01-232-2/+6
| | | | svn path=/trunk/; revision=22199
* Fix pltcheck issuesMatthias Clasen2009-01-233-10/+17
| | | | svn path=/trunk/; revision=22198
* Updated Spanish translationJorge Gonzalez Gonzalez2009-01-232-152/+155
| | | | svn path=/trunk/; revision=22197
* UpdatesMatthias Clasen2009-01-232-1/+41
| | | | svn path=/trunk/; revision=22196
* i Bug 560228 – Add "action-controller" property to GtkWidgetClassMatthias Clasen2009-01-2329-813/+2368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rework the way actions and proxies interact, to make the interaction less ad hoc, more extensible, and better suited for support in GUI builders like glade. To be used as a proxy, a widget must now implement the GtkActivatable interface, and GtkActivatable implementations are responsible for syncing their appearance with the action and for activating the action. All the widgets that are commonly used as proxies implement GtkActivatable now. Patch by Tristan van Berkom. * gtk/gtkactivatable.[hc]: The GtkActivatable interface. * gtk/gtkbutton.c: * gtk/gtktogglebutton.c: * gtk/gtktoolitem.c: * gtk/gtktoolbutton.c: * gtk/gtktoggletoolbutton.c: * gtk/gtkmenuitem.c: * gtk/gtkcheckmenuitem.c: * gtk/gtkimagemenuitem.c: * gtk/gtkradiomenuitem.c: * gtk/gtkrecentchooserprivate.h: * gtk/gtkrecentchooser.c: * gtk/gtkrecentchooserdefault.c: * gtk/gtkrecentchoosermenu.c: Implement GtkActivatable. * gtk/gtkaction.[hc]: Move appearance synchronization to GtkActivatable implementations. * gtk/gtkradioaction.c: * gtk/gtkrecentaction.c: * gtk/gtktoggleaction.c: * gtk/gtkactiongroup.c: Adapt. * gtk/gtk.h: Include gtkactivatable.h * gtk/gtk.symbols: Add new functions svn path=/trunk/; revision=22195
* AdditionsMatthias Clasen2009-01-232-0/+6
| | | | svn path=/trunk/; revision=22194
* Don't set up im stuff if the widget is not realized.Matthias Clasen2009-01-233-2/+22
| | | | | | | | | | * gtk/gtktextview.c: Don't set up im stuff if the widget is not realized. * gtk/gtkimmodule.c: Assert that we have a window. svn path=/trunk/; revision=22193
* Skip Desktop if it equals the home folderMatthias Clasen2009-01-232-0/+17
| | | | svn path=/trunk/; revision=22192
* Keep GtkPlug in sync with the global list of toplevels.Matthias Clasen2009-01-234-2/+57
| | | | | | | | | | | | | | | | | Patch by Federico Mena Quintero * gtk/gtkwindow.h: * gtk/gtkwindow.c (_gtk_window_set_is_toplevel): New internal function used when a GtkPlug parents/unparents itself by an in-process GtkSocket. This keeps the plug's GTK_TOPLEVEL flag in sync with the global toplevel_list. * gtk/gtkplug.c (gtk_plug_set_is_child): Call _gtk_window_set_is_toplevel() to keep the toplevel list updated, instead of just setting/unsetting the GTK_TOPLEVEL flag. svn path=/trunk/; revision=22191
* Fix typosMatthias Clasen2009-01-232-5/+11
| | | | svn path=/trunk/; revision=22190
* Bug 567761 – Spellfixes in GTK+ documentationMatthias Clasen2009-01-235-5/+16
| | | | | | | | * gdk/x11/gdkselection-x11.c: * gtk/gtktestutils.c: Fix typos in the docs. svn path=/trunk/; revision=22189
* Improve docsMatthias Clasen2009-01-232-10/+17
| | | | svn path=/trunk/; revision=22188
* Use a different approach to snapshotting that is in line with what is doneMatthias Clasen2009-01-233-8/+76
| | | | | | | | | | | | | * gtk/gtkwidget.c (gtk_widget_get_snapshot): Use a different approach to snapshotting that is in line with what is done in the client-side windows branch, and that works for widgets regardless if they are double-buffered or not. Patch by Alex Larsson. * gdk/gdkwindow.c (_gdk_window_calculate_full_clip_region): Clip to the parent. svn path=/trunk/; revision=22187
* GtkFileChooserEntry: handle slow folders by not autocompleting when the ↵Federico Mena Quintero2009-01-232-3/+11
| | | | | | | | | | | | | | | cursor is not at the end of the text 2009-01-22 Federico Mena Quintero <federico@novell.com> * gtk/gtkfilechooserentry.c (autocomplete): Relax the assertion; just do nothing if the folder is not loaded or if the cursor position is not at the end of the text. A very slow-to-load folder can get us into the latter state if the user starts typing first. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=22186
* Revert the previous changeMatthias Clasen2009-01-232-26/+18
| | | | svn path=/trunk/; revision=22185
* GtkFileChooserEntry: fix the computation of 'complete but not unique' and ↵Federico Mena Quintero2009-01-232-17/+41
| | | | | | | | | | | | | | | | | | | | | | | appending a '/' to unique directory names 2009-01-22 Federico Mena Quintero <federico@novell.com> Fix the computation of "complete but unique" in GtkFileChooserEntry. Fix the case where "/" was not appended to a unique directory name during explicit Tab completion. * gtk/gtkfilechooserentry.c (maybe_append_separator_to_file): Return whether anything was appended as well as the new string itself. (find_common_prefix): Oops, only turn on is_complete_not_unique_ret if we had a unique match! (append_common_prefix): If we appended a directory separator, we *did* expand the common prefix, so we are not in the "nothing inserted" case. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=22184
* Comments for translators on the file chooser entry's completion feedbackFederico Mena Quintero2009-01-232-12/+28
| | | | | | | | | | (start_explicit_completion): Add comments for translators, to explain the purpose of the various feedback messages used during completion. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=22183
* Pass refresh errors from the very bottom of the loading sequence up to the topFederico Mena Quintero2009-01-232-15/+56
| | | | | | | | | | | | | | | | (start_loading_current_folder): Check if the folder to be loaded is non-native for the local_only=TRUE case; if so, return an error as we are configured to load only local folders. (reload_current_folder): Pass on errors from start_loading_current_folder(). Tighten the preconditions, as we are sure that we can only receive non-NULL folder-files to load. (refresh_current_folder_and_file_part): Pass on errors from reload_current_folder(). At the very end, assert the invariant described above. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=22182
* Factor out function to discard the loading process and the current folder fileFederico Mena Quintero2009-01-232-18/+37
| | | | | | | | | | | | | | | (discard_loading_and_current_folder_file): Factor out function to cancel the cancellable and discard the current_folder_file, i.e. to reset the invariant to the "nothing valid is loaded" case. (gtk_file_chooser_entry_dispose): Use discard_loading_and_current_folder_file(). (reload_current_folder): Likewise. (refresh_current_folder_and_file_part): Likewise, and ensure that the error cases result in the invariant being held. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=22181
* Process the result of refreshing the folder during autocompletionFederico Mena Quintero2009-01-232-9/+26
| | | | | | | | | | | (start_autocompletion): Process the result from refresh...(). We only do completion in the REFRESH_OK case. For the error cases, we don't do anything, as this is autocompletion and must not result in non-asked-for errors popping up. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=22180
* Don't handle errors when committing the completionFederico Mena Quintero2009-01-232-5/+7
| | | | | | | | | | (commit_completion_and_refresh): Don't do anything with the result of refresh...(), since this function doesn't get called during completion-related interaction. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=22179
* Process the result of refreshing the folder during explicit completionFederico Mena Quintero2009-01-232-27/+63
| | | | | | | | | | (start_explicit_completion): Process the result from refresh...(). Here we present the actual feedback about only being able to display local folders for local_only=TRUE. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=22178
* Return an error code when refreshing the entry from the user's inputFederico Mena Quintero2009-01-232-5/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-22 Federico Mena Quintero <federico@novell.com> Return an error code when refreshing the entry from the user's input. We use this in the completion code to know when completion can't happen due to (for example) having a non-local URI in a file chooser that is local_only=TRUE. Also, we start maintaining an invariant that chooser_entry->current_folder_file != NULL implies that: * what the user entered is valid * we are loading that folder (chooser_entry->load_folder_cancellable != NULL) * or we are done loading that folder, or we have a handle to it at least (chooser_entry->current_folder != NULL) The invariant also says that all of the above are NULL (and chooser_entry->current_folder_file == NULL) implies that the user typed something invalid. This makes _gtk_file_chooser_entry_get_current_folder() not able to return an invalid folder. * gtk/gtkfilechooserentry.c (RefreshStatus): New enum. (refresh_current_folder_and_file_part): Return a RefreshStatus. We filter out incomplete hostnames here (typing "sftp://incompl[tab]" will error out), as well as completely unparsable input. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=22177