1. 23 Jan, 2009 26 commits
    • Matthias Clasen's avatar
      2.15.1 · 3bb7c153
      Matthias Clasen authored
      svn path=/trunk/; revision=22202
      3bb7c153
    • Matthias Clasen's avatar
      Doc fixes · d0113d27
      Matthias Clasen authored
      svn path=/trunk/; revision=22201
      d0113d27
    • Matthias Clasen's avatar
      Add GtkActivatableIface, too · dbb8e55c
      Matthias Clasen authored
      svn path=/trunk/; revision=22200
      dbb8e55c
    • Matthias Clasen's avatar
      Fix the section docs · 1c4e394b
      Matthias Clasen authored
      svn path=/trunk/; revision=22199
      1c4e394b
    • Matthias Clasen's avatar
      Fix pltcheck issues · 33d5c3d6
      Matthias Clasen authored
      svn path=/trunk/; revision=22198
      33d5c3d6
    • Jorge Gonzalez Gonzalez's avatar
      Updated Spanish translation · faf6a832
      Jorge Gonzalez Gonzalez authored
      svn path=/trunk/; revision=22197
      faf6a832
    • Matthias Clasen's avatar
      Updates · 6e0378f8
      Matthias Clasen authored
      svn path=/trunk/; revision=22196
      6e0378f8
    • Matthias Clasen's avatar
      i Bug 560228 – Add "action-controller" property to GtkWidgetClass · bb72b647
      Matthias Clasen authored
              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
      bb72b647
    • Matthias Clasen's avatar
      Additions · acd40c45
      Matthias Clasen authored
      svn path=/trunk/; revision=22194
      acd40c45
    • Matthias Clasen's avatar
      Don't set up im stuff if the widget is not realized. · 280eeb02
      Matthias Clasen authored
              * 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
      280eeb02
    • Matthias Clasen's avatar
      Skip Desktop if it equals the home folder · a220373a
      Matthias Clasen authored
      svn path=/trunk/; revision=22192
      a220373a
    • Matthias Clasen's avatar
      Keep GtkPlug in sync with the global list of toplevels. · 4569b49b
      Matthias Clasen authored
              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
      4569b49b
    • Matthias Clasen's avatar
      Fix typos · 5c99971a
      Matthias Clasen authored
      svn path=/trunk/; revision=22190
      5c99971a
    • Matthias Clasen's avatar
      Bug 567761 – Spellfixes in GTK+ documentation · 5c317ec7
      Matthias Clasen authored
              * gdk/x11/gdkselection-x11.c:
              * gtk/gtktestutils.c: Fix typos in the docs.
      
      
      svn path=/trunk/; revision=22189
      5c317ec7
    • Matthias Clasen's avatar
      Improve docs · b71609e2
      Matthias Clasen authored
      svn path=/trunk/; revision=22188
      b71609e2
    • Matthias Clasen's avatar
      Use a different approach to snapshotting that is in line with what is done · 379822c7
      Matthias Clasen authored
              * 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
      379822c7
    • Federico Mena Quintero's avatar
      GtkFileChooserEntry: handle slow folders by not autocompleting when the cursor... · ba54644c
      Federico Mena Quintero authored
      GtkFileChooserEntry: handle slow folders by not autocompleting when the 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: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=22186
      ba54644c
    • Matthias Clasen's avatar
      Revert the previous change · 0b2554da
      Matthias Clasen authored
      svn path=/trunk/; revision=22185
      0b2554da
    • Federico Mena Quintero's avatar
      GtkFileChooserEntry: fix the computation of 'complete but not unique' and... · 7fde4a85
      Federico Mena Quintero authored
      GtkFileChooserEntry: fix the computation of 'complete but not unique' and 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: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=22184
      7fde4a85
    • Federico Mena Quintero's avatar
      Comments for translators on the file chooser entry's completion feedback · a8b06ad5
      Federico Mena Quintero authored
      	(start_explicit_completion): Add comments for translators, to
      	explain the purpose of the various feedback messages used during
      	completion.
      Signed-off-by: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=22183
      a8b06ad5
    • Federico Mena Quintero's avatar
      Pass refresh errors from the very bottom of the loading sequence up to the top · cabc9f7f
      Federico Mena Quintero authored
      	(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: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=22182
      cabc9f7f
    • Federico Mena Quintero's avatar
      Factor out function to discard the loading process and the current folder file · 7ba4268d
      Federico Mena Quintero authored
      	(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: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=22181
      7ba4268d
    • Federico Mena Quintero's avatar
      Process the result of refreshing the folder during autocompletion · fe636e4b
      Federico Mena Quintero authored
      	(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: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=22180
      fe636e4b
    • Federico Mena Quintero's avatar
      Don't handle errors when committing the completion · c1205bbb
      Federico Mena Quintero authored
      	(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: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=22179
      c1205bbb
    • Federico Mena Quintero's avatar
      Process the result of refreshing the folder during explicit completion · 65cd4f8d
      Federico Mena Quintero authored
      	(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: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=22178
      65cd4f8d
    • Federico Mena Quintero's avatar
      Return an error code when refreshing the entry from the user's input · 2dd7cf49
      Federico Mena Quintero authored
      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: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=22177
      2dd7cf49
  2. 22 Jan, 2009 8 commits
  3. 21 Jan, 2009 6 commits