1. 13 Dec, 2003 3 commits
    • Matthias Clasen's avatar
      Document that the clip mask of gc is ignored. (#101983, Sebastian Rittau) · e0fe66ee
      Matthias Clasen authored
      Sat Dec 13 23:37:50 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/gdkdraw.c (gdk_draw_pixbuf): Document that the clip mask
      	of gc is ignored.  (#101983, Sebastian Rittau)
      e0fe66ee
    • Kristian Rietveld's avatar
      A trick for a faster treeview, step 1. Patch to short circuit · 5f3cde77
      Kristian Rietveld authored
      Sat Dec 13 16:13:27 2003  Kristian Rietveld  <kris@gtk.org>
      
      	A trick for a faster treeview, step 1. Patch to short circuit
      	_build_tree(), inspired by Jonathan (#80868).
      
      	* gtk/gtktreeview.c (gtk_tree_view_init): don't put _IS_LIST in
      	flags by default,
      	(gtk_tree_view_build_tree): don't even try to recurse when the
      	model says that it is a list, remove flag unsetter,
      	(gtk_tree_view_set_model): change flag setting logic.
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags):
      	propagate whether or not the child model has _IS_LIST set.
      
      	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_flags):
      	ditto.
      5f3cde77
    • Matthias Clasen's avatar
      Undo the last change, since it broke logical keynav. Fix stepper direction · 6326e9df
      Matthias Clasen authored
      Sat Dec 13 02:33:17 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkrange.c (gtk_range_scroll): Undo the last change,
      	since it broke logical keynav.
      	* gtk/gtkrange.c (range_get_scroll_for_grab): Fix stepper
      	direction in inverted scrollbars here instead.
      6326e9df
  2. 12 Dec, 2003 3 commits
    • Matthias Clasen's avatar
      Implement "gravity" for RTL mode in a better way: Keep the distance from · 802e094b
      Matthias Clasen authored
      Sat Dec 13 00:39:24 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkviewport.c (viewport_set_hadjustment_values): Implement
      	"gravity" for RTL mode in a better way: Keep the distance from
      	the upper end of the page to the upper bound constant. This also
      	fixes problems with the initial position of the viewport in RTL
      	mode.  (#129063)
      802e094b
    • Kristian Rietveld's avatar
      Combo box flipping support. · 375ccb28
      Kristian Rietveld authored
      Fri Dec 12 21:00:12 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Combo box flipping support.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_menu_position),
      	(gtk_combo_box_size_allocate): support RTL flipping (#126518,
      	patch from Matthias Clasen),
      	(gtk_combo_box_popup): fix popup window alignment if there's a
      	cell view frame visible (#126518, patch from Semion Chichelnitsky).
      
      	* gtk/gtkcellview.c (gtk_cell_view_expose): support RTL flipping
      	(#128348, patch from Semion Chichelnitsky).
      375ccb28
    • Matthias Clasen's avatar
      Remove deprecated functions in examples. (#129074, Olexiy Avramchenko) · c819c45e
      Matthias Clasen authored
      Fri Dec 12 01:13:34 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* examples/gtkdial/gtkdial.c:
      	* examples/menu/menu.c:
      	* examples/scribble-xinput/scribble-xinput.c:
      	* examples/progressbar/progressbar.c:
      	* docs/tutorial/gtk-tut.sgml: Remove deprecated functions
      	in examples. (#129074, Olexiy Avramchenko)
      	* examples/calendar/Makefile:
      	* examples/rangewidgets/Makefile:
      	* examples/menu/Makefile: Allow deprecated functions in
      	examples which use deprecated widgets.
      c819c45e
  3. 11 Dec, 2003 3 commits
  4. 10 Dec, 2003 6 commits
    • Matthias Clasen's avatar
      Changes to allow "no input" windows (#64613): · 5fb61f30
      Matthias Clasen authored
      Thu Dec 11 00:35:12 2003  Matthias Clasen  <maclas@gmx.de>
      
      	Changes to allow "no input" windows (#64613):
      
      	* gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
      	field accept_focus.
      
      	* gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
      	set it.
      
      	* gtk/gtkwindow.[hc]: Add a boolean property "accept_focus"
      	and gtk_window_get_focus() and gtk_window_set_focus().
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_new):
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_new):
      	Initialize the accept_focus field to TRUE.
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_accept_focus):
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_accept_focus):
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_accept_focus):
      	Implementations for the various backends. The Win32 and linux-fb
      	implementations set the accept_focus field, but don't use it yet
      	to actually implement noinput windows. The X implementation updates
      	the WM_HINTS to select the globally active input model (see the
      	ICCCM) if accept_focus is FALSE.
      
      	* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Ignore the
      	WM_TAKE_FOCUS message if accept_focus is FALSE.
      5fb61f30
    • Federico Mena Quintero's avatar
      Added toolbar items for the filter separator and the filter item. · c9c99b3f
      Federico Mena Quintero authored
      2003-12-10  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
      	Added toolbar items for the filter separator and the filter item.
      	(toolbar_create): Add the filter widgets here.
      	(filter_create): Renamed from create_filter().  Don't store the
      	alignment in the impl structure, just return it.
      	(toolbar_show_filters): New function.
      	(gtk_file_chooser_default_add_filter): Use toolbar_show_filters().
      	(gtk_file_chooser_default_remove_filter): Likewise.
      	(gtk_file_chooser_default_constructor): Don't create the filter
      	widget here.
      	(struct _GtkFileChooserDefault): Added a field for a current
      	folder label.
      	(gtk_file_chooser_default_constructor): Create the folder label.
      	(gtk_file_chooser_default_set_current_folder): Set the current
      	folder label.
      
      	* tests/testfilechooser.c (main): Dramatically improved the
      	usability of the extra widget through careful word choice.
      c9c99b3f
    • Mark McLoughlin's avatar
      include gdkspawn.h. · e0903408
      Mark McLoughlin authored
      2003-12-10  Mark McLoughlin  <mark@skynet.ie>
      
              * gdk/gdk.h: include gdkspawn.h.
      e0903408
    • Mark McLoughlin's avatar
      s/gdk_spawn/gdk_spawn_on_screen/. · b7964226
      Mark McLoughlin authored
      2003-12-10  Mark McLoughlin  <mark@skynet.ie>
      
              * gdk/linux-fb/gdkspawn-fb.c,
                gdk/win32/gdkspawn-win32.c,
                gdk/x11/gdkspawn-x11.c: (gdk_spawn_command_line_on_screen):
              s/gdk_spawn/gdk_spawn_on_screen/.
      b7964226
    • Mark McLoughlin's avatar
      Utility functions for multi-screen applications which need to ensure · 01fcbc19
      Mark McLoughlin authored
      2003-12-10  Mark McLoughlin  <mark@skynet.ie>
      
              Utility functions for multi-screen applications which need
              to ensure launched applications appear on a certain screen.
              See bug #95897.
      
              * gdk/gdkspawn.h: header for multi-screen launching
              support.
      
              * gdk/Makefile.am: install gdkspawn.h.
      
              * gdk/x11/Makefile.am:
              * gdk/x11/gdkspawn-x11.c:
              (gdk_spawn_make_environment_for_screen): private function
              to create an environment vector with DISPLAY set appropriately
              for the screen.
              (gdk_spawn_on_screen): multi-screen version of g_spawn_async().
              (gdk_spawn_on_screen_with_pipes): version of g_spawn_async_with_pipes().
              (gdk_spawn_command_line_on_screen): version of g_spawn_command_line_async().
      
              * gdk/linux-fb/Makefile.am,
                gdk/linux-fb/gdkspawn-fb.c: linux-fb impl.
      
              * gdk/win32/Makefile.am,
                gdk/win32/gdkspawn-win32.c: win32 impl.
      01fcbc19
    • Federico Mena Quintero's avatar
      Use "Home" rather than "Username's Home" (#125964). · 6a97a169
      Federico Mena Quintero authored
      2003-12-09  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_append_home): Use "Home"
      	rather than "Username's Home" (#125964).
      	(shortcuts_selection_changed_cb): New callback, check the
      	sensitivity of the Remove Bookmark button at the right time.
      	(shortcuts_row_activated_cb): It is not necessary to check the
      	sensitivity here.
      6a97a169
  5. 09 Dec, 2003 3 commits
    • Matthias Clasen's avatar
      Improve the GDK API for dealing with group leaders (#119375): · 3f6441ea
      Matthias Clasen authored
      Wed Dec 10 00:06:24 2003  Matthias Clasen  <maclas@gmx.de>
      
      	Improve the GDK API for dealing with group leaders (#119375):
      
      	* gdk/gdkwindow.h:
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_group): New function to
      	get the group leader of a toplevel window as a GdkWindow.
      
      	* gdk/gdkdisplay.h:
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_get_default_group): New
      	function to get the default group leader as a GdkWindow.
      
      	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a field for
      	the GdkWindow of the default group leader.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Construct the GdkWindow
      	for the default group leader.
      3f6441ea
    • Noah Levitt's avatar
      Add keysyms Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN. · 451c0775
      Noah Levitt authored
      2003-12-09  Noah Levitt  <nlevitt@columbia.edu>
      
      	* gdk/gdkkeysyms.h:
      	* gdk/gdkkeyuni.c: Add keysyms Ukrainian_ghe_with_upturn,
      	Ukrainian_GHE_WITH_UPTURN. (#128529)
      451c0775
    • Michael Meeks's avatar
      fix utf-8 brokenness - apologies. · aa9aca5f
      Michael Meeks authored
      aa9aca5f
  6. 08 Dec, 2003 5 commits
    • Jan Arne Petersen's avatar
      Use the behavior of the GtkFileSelection to determine selected paths in · dd033516
      Jan Arne Petersen authored
      2003-12-08  Jan Arne Petersen  <jpetersen@uni-bonn.de>
      
      	* gtk/gtkfilechooserdefault.c:
      	(gtk_file_chooser_default_get_paths), (entry_activate): Use the
      	behavior of the GtkFileSelection to determine selected paths in
      	single selected, GTK_FILE_CHOOSER_ACTION_SAVE mode.
      
      2003-12-08  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_get_paths): Don't declare the closure
      	struct twice.
      	(get_paths_foreach): Likewise.
      dd033516
    • Matthias Clasen's avatar
      s/Unix/Win32/g. · 2e47029b
      Matthias Clasen authored
      Tue Dec  9 00:12:36 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilesystemwin32.[hc]: s/Unix/Win32/g.
      2e47029b
    • Tor Lillqvist's avatar
      Use <multimon.h> when compiling with MSVC and old headers. (#126933, John · dfddc206
      Tor Lillqvist authored
      2003-12-08  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkdisplay-win32.c: Use <multimon.h> when compiling
      	with MSVC and old headers. (#126933, John Ehresman)
      dfddc206
    • Owen Taylor's avatar
      === Released 2.3.1 === · 5b21e9ce
      Owen Taylor authored
      Mon Dec  8 10:54:44 2003  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 2.3.1 ===
      
              * NEWS: Updates for 2.3.1
      
              * configure.in: Version 2.3.1, interface age 0, binary age 301.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel):
              Rename from gtk_menu_item_real_can_activate_accel() to
              match GTK+ convention, improve comment.
      
              * gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(),
              can ::can-activate-accel signal.
      
              * gtk/gtkwidget.c (closure_accel_activate): Fix spelling
              in comment.
      
              * gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean
              up comment.
      
              * gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros
              into the .c file.
      
      Mon Dec  8 12:09:21 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkicontheme.c (find_builtin_icon): Fix a
              missing 'else'. (#128816, Jorn Baayen)
      5b21e9ce
    • Michael Meeks's avatar
      Based on a patch by Martin Kretzschmar; #122448 · fa3ca01b
      Michael Meeks authored
      2003-12-02  Michael Meeks  <michael@ximian.com>
      
      	Based on a patch by Martin Kretzschmar; #122448
      
      	* gdk/gdk.h: new gdk_threads_lock, gdk_threads_unlock, point to
      	implementation of GDK_THREADS_ENTER / GDK_THREADS_LEAVE.
      	(GDK_THREADS_ENTER, GDK_THREADS_LEAVE): use gdk_threads_[un]lock
      	function pointers. Deprecate the global gdk_threads_mutex variable.
      
      	* gdk/gdk.c (gdk_threads_impl_lock, gdk_threads_impl_unlock): new,
      	extracted from GTK_THREADS_ENTER/LEAVE macros.
      	(gdk_threads_init): init gtk_threads_[un]lock if not set.
      	(gdk_threads_set_lock_functions): impl.
      
      	* gdk/gdkglobals.c: add definitions of gdk_threads_[un]lock.
      fa3ca01b
  7. 07 Dec, 2003 3 commits
  8. 06 Dec, 2003 3 commits
  9. 05 Dec, 2003 2 commits
    • Manish Singh's avatar
      Applied patch from Ross McFarland <rwmcfa1@neces.com>, initialize *count_p · 532062df
      Manish Singh authored
      Fri Dec  5 15:30:16 2003  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from
              Ross McFarland <rwmcfa1@neces.com>, initialize *count_p to 0
              before doing anything to prevent garbage returns.
      532062df
    • Matthias Clasen's avatar
      Implement RTL flipping for GtkViewport: Adjust the "gravity" when resizing · 8ad788e9
      Matthias Clasen authored
      Sat Dec  6 00:23:46 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkviewport.c: Implement RTL flipping for
      	GtkViewport: Adjust the "gravity" when resizing
      	This is a bit flickery in RTL mode.  (#107526)
      
      Sat Dec  6 00:22:14 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkscrolledwindow.c: Implement RTL flipping for
      	GtkScrolledWindow: the vertical scrollbar shows up on the left
      	side in RTL mode.  (#107526)
      8ad788e9
  10. 04 Dec, 2003 2 commits
  11. 02 Dec, 2003 2 commits
    • Federico Mena Quintero's avatar
      Decouple impl->current_folder from the selection in the folder tree. This · bfa64d0c
      Federico Mena Quintero authored
      2003-12-01  Federico Mena Quintero  <federico@ximian.com>
      
      	Decouple impl->current_folder from the selection in the folder
      	tree.  This is so that going to /home/federico/.foo (e.g. from a
      	bookmark) will work even if show_hidden == FALSE.  The folder tree
      	needs to be fixed in this case to show such folders explicitly.
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_set_current_folder): When changing
      	folders, do the entry and list model work here, instead of
      	tree_selection_changed().
      	(struct _GtkFileChooserDefault): Added a changing_folder flag
      	again, dum de dum.
      	(tree_selection_changed): Use _gtk_file_chooser_set_current_folder_path().
      bfa64d0c
    • Matthias Clasen's avatar
      Remove duplicate declaration of gtk_icon_source_set_icon_name(). (#Jeff · 6cb4ec86
      Matthias Clasen authored
      Tue Dec  2 01:01:54 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkiconfactory.h: Remove duplicate declaration of
      	gtk_icon_source_set_icon_name().  (#Jeff Franks, #128269)
      6cb4ec86
  12. 01 Dec, 2003 2 commits
    • Federico Mena Quintero's avatar
      Patch from Hans-Petter Jansson <hpj@ximian.com> to align the bookmarks · c5dc8cf6
      Federico Mena Quintero authored
      2003-12-01  Federico Mena Quintero  <federico@ximian.com>
      
      	Patch from Hans-Petter Jansson <hpj@ximian.com> to align the
      	bookmarks buttons with the location entry.
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_constructor): Use a GtkSizeGroup for the
      	bookmarks buttons and the location entry.
      c5dc8cf6
    • Federico Mena Quintero's avatar
      Set the shortcuts tree as a drag destination. · 3efec0d6
      Federico Mena Quintero authored
      2003-12-01  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Set the
      	shortcuts tree as a drag destination.
      	(shortcuts_drag_data_received_cb): New callback.
      	(get_file_info): Also fetch information on whether the file is a folder.
      	(add_bookmark_button_clicked_cb): Use error_could_not_add_bookmark_dialog().
      	(error_could_not_add_bookmark_dialog): New function.
      	(shortcuts_add_bookmark_from_path): New helper function.
      	(add_bookmark_button_clicked_cb): Use shortcuts_add_bookmark_from_path().
      	(shortcuts_row_activated): We no longer need the changing_folder flag.
      	(struct _GtkFileChooserDefault): Likewise.
      3efec0d6
  13. 30 Nov, 2003 1 commit
    • Soeren Sandmann's avatar
      return TRUE if there are disappearing placeholders that are still visible. · 08529cde
      Soeren Sandmann authored
      Sun Nov 30 17:31:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c (slide_idle_handler): return TRUE if there are
      	disappearing placeholders that are still visible.
      
      	* gtk/gtktoolbar.c: formatting fixes
      
      	* gtk/gtktoolbar.c (struct _ToolbarContent): new bit:
      	disappearing, for placeholders that are going to disappear.
      
      	* gtk/gtktoolbar.c (get_item_size): return 0 for disappearing placeholders
      08529cde
  14. 29 Nov, 2003 1 commit
  15. 27 Nov, 2003 1 commit