1. 10 Dec, 2003 3 commits
    • 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
  2. 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
  3. 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
  4. 07 Dec, 2003 3 commits
  5. 06 Dec, 2003 3 commits
  6. 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
  7. 04 Dec, 2003 2 commits
  8. 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
  9. 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
  10. 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
  11. 29 Nov, 2003 1 commit
  12. 27 Nov, 2003 4 commits
    • Matthias Clasen's avatar
      Don't use freed memory. (#127698, Taavi Talvik) · 6f9b9215
      Matthias Clasen authored
      Fri Nov 28 00:26:24 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize):
      	Don't use freed memory.  (#127698, Taavi Talvik)
      6f9b9215
    • Matthias Clasen's avatar
      Remove debug g_print()s. · a2ea36c0
      Matthias Clasen authored
      Fri Nov 28 00:09:10 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooserentry.c: Remove debug g_print()s.
      a2ea36c0
    • Matthias Clasen's avatar
      Remove debug define. · c9fca584
      Matthias Clasen authored
      Thu Nov 27 22:17:50 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.c: Remove debug define.
      c9fca584
    • Tim Janik's avatar
      allow accel activation depending on sensitivity and the attach widget. · 448b576d
      Tim Janik authored
      Thu Nov 27 16:19:03 2003  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenu.c: allow accel activation depending on sensitivity
              and the attach widget.
      
              * gtk/gtkmenuitem.c: allow accel activation depending on visibility,
              sensitivity and the parent menu.
      
              * gtk/gtkwidget.[hc]: introduced ::can-activate-accel signal which
              checks whether accelerators may activate a widget. the default handler
              demands the widget be sensitive and visible+viewable.
      
              * gtk/gtkaccelgroup.[hc]: export gtk_accel_group_activate().
      448b576d
  13. 24 Nov, 2003 6 commits
    • Matthias Clasen's avatar
      Don't show accelerators in popup menus. (#127227) · ab0d40b3
      Matthias Clasen authored
      Tue Nov 25 00:10:05 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.c (update_node): Don't show accelerators in
      	popup menus.  (#127227)
      ab0d40b3
    • GMT 2003  Tony Gale's avatar
      start 2.x Section 4 updates · d0c95b51
      GMT 2003 Tony Gale authored
      Mon Nov 24 13:47:39 GMT 2003  Tony Gale <gale@gtk.org>
      
              * docs/faq/gtk-faq.sgml: start 2.x Section 4 updates
      d0c95b51
    • Soeren Sandmann's avatar
      Make this function take a GtkRadioToolButton instead of a GtkWidget. · b7becec1
      Soeren Sandmann authored
      Mon Nov 24 04:05:15 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkradiotoolbutton.[ch]
      	(gtk_radio_tool_button_new_from_widget): Make this function take a
      	GtkRadioToolButton instead of a GtkWidget. (#127729, Murray
      	Cumming)
      b7becec1
    • Soeren Sandmann's avatar
      remove variables in_dnd and leaving_dnd · 07d63711
      Soeren Sandmann authored
      Mon Nov 24 02:34:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c: remove variables in_dnd and leaving_dnd
      07d63711
    • Soeren Sandmann's avatar
      remove variable n_overflowed_menu_items_when_dnd_started · cc70808f
      Soeren Sandmann authored
      Mon Nov 24 02:19:33 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c: remove variable
      	n_overflowed_menu_items_when_dnd_started
      cc70808f
    • Soeren Sandmann's avatar
      Rework sliding algorithm. - No more weird jumping when items are dragged · 2e98304e
      Soeren Sandmann authored
      Mon Nov 24 01:47:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	Rework sliding algorithm.
      	- No more weird jumping when items are dragged off and added to
      	the toolbar,
      	- More natural item movement
      
      	* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Many changes. This
      	function is now responsible for calculating intermediate positions
      	during item sliding. It is also responsible for starting sliding
      	if items disappear.  Also turn off expanding when there is an
      	overflow menu.
      	(gtk_toolbar_begin_sliding, stop_sliding): New functions.
      	(slide_idle_handler): New function. All the sliding is now done by
      	gtk_toolbar_size_allocate(), so the idle handler now just checks
      	if there is more sliding to be done.
      	(compute_intermediate_allocation, position): new functions
      	calculating intermediate steps in the slide animations. The new
      	animation algorithm uses a constant speed instead of a constant
      	must-be-finished-within time.
      	(struct _ToolbarContent): use
      	GtkAllocation goal_allocation; and
      	GtkAllocation start_allocation; instead of
      	gint start/goal_width;
      
      	* gtk/gtktoolitem.c (gtk_tool_item_set_tooltip): fix typo in
      	documentation
      2e98304e
  14. 23 Nov, 2003 1 commit
  15. 21 Nov, 2003 1 commit
  16. 20 Nov, 2003 1 commit