1. 28 Dec, 2004 4 commits
    • Matthias Clasen's avatar
      Inherit submenu direction from the parent menu. · 2833c7ee
      Matthias Clasen authored
      2004-12-28  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Inherit
      	submenu direction from the parent menu.
      2833c7ee
    • Matthias Clasen's avatar
      Return a boolean indicating whether an item in the submenu was selected. · e77e1e24
      Matthias Clasen authored
      2004-12-28  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first):
      	Return a boolean indicating whether an item in the submenu
      	was selected.
      	(gtk_real_menu_shell_move_current): When going in child
      	direction, don't get stuck at completely insensitive
      	submenus.  (#162055, Billy Biggs)
      e77e1e24
    • Matthias Clasen's avatar
      Make the clipboard image API more robust (#162357, Torsten Schoenfeld): · 676322ac
      Matthias Clasen authored
      2004-12-27  Matthias Clasen  <mclasen@redhat.com>
      
      	Make the clipboard image API more robust (#162357,
      	Torsten Schoenfeld):
      
      	* gtk/gtkclipboard.c (clipboard_image_received_func): Don't
      	ref the pixbuf if it is NULL.
      
      	* gtk/gtkselection.c (gtk_selection_data_set_pixbuf):
      	NULL-terminate the varargs in the call to
      	gdk_pixbuf_save_to_buffer().
      	(gtk_selection_data_get_pixbuf): Only use a pixbuf loader
      	if there is data to load.
      676322ac
    • Matthias Clasen's avatar
      Set x_root and y_root in button and motion events from extended input · 34982b41
      Matthias Clasen authored
      
      2004-12-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
      	Set x_root and y_root in button and motion events from
      	extended input devices.  (#148715, Robert Ögren)
      34982b41
  2. 27 Dec, 2004 4 commits
  3. 26 Dec, 2004 2 commits
    • Matthias Clasen's avatar
      Typo fix. (#162219, Masao Mutoh) · d181d74e
      Matthias Clasen authored
      2004-12-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_set_action):
      	Typo fix.  (#162219, Masao Mutoh)
      	(gtk_file_chooser_set_preview_widget_active):
      	Another typo.  (#162218, Masao Mutoh)
      d181d74e
    • Matthias Clasen's avatar
      Typo fix. (#162219, Masao Mutoh) · 1fc0fc69
      Matthias Clasen authored
      2004-12-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_set_action):
      	Typo fix.  (#162219, Masao Mutoh)
      1fc0fc69
  4. 24 Dec, 2004 2 commits
  5. 22 Dec, 2004 5 commits
  6. 20 Dec, 2004 3 commits
  7. 19 Dec, 2004 3 commits
    • Tor Lillqvist's avatar
      Use wide character API when available. Use UTF-8 for filenames. · 78e869fe
      Tor Lillqvist authored
      2004-12-19  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter):
      	Use wide character API when available. Use UTF-8 for filenames.
      
      	* gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include
      	the string's trailing zero byte in the property's length, just for
      	safety.
      78e869fe
    • Matthias Clasen's avatar
      Add missing GDK_THREADS_ENTER/LEAVE. · 947fcbbd
      Matthias Clasen authored
      2004-12-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooserentry.c (check_completion_callback)
      	(load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE.
      
      	* gtk/gtkfilechooserdefault.c (edited_idle_cb)
      	(shortcuts_drag_outside_idle_cb): Add missing
      	GDK_THREADS_ENTER/LEAVE.  (#161604)
      
      	* gtk/gtkfilechooserdefault.c (selection_check_foreach_cb):
      	(list_select_func): Don't call gtk_file_info_get_is_folder()
      	on NULL.
      947fcbbd
    • Matthias Clasen's avatar
      Add missing initializations. (#161646, Torsten Schoenfeld) · 29cec89b
      Matthias Clasen authored
      2004-12-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name):
      	(gtk_about_dialog_init): Add missing initializations.  (#161646,
      	Torsten Schoenfeld)
      29cec89b
  8. 16 Dec, 2004 7 commits
  9. 15 Dec, 2004 6 commits
    • Alexander Larsson's avatar
      Use g_filename_display_basename to calculate display name. · 408142e3
      Alexander Larsson authored
      2004-12-15  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkfilesystemunix.c (gtk_file_folder_unix_get_info):
      	Use g_filename_display_basename to calculate display name.
      408142e3
    • Matthias Clasen's avatar
      Updates · 27ee5709
      Matthias Clasen authored
      27ee5709
    • Matthias Clasen's avatar
      Use _gtk_menu_item_popup_submenu() to make keynav into submenus work · 8b927c6f
      Matthias Clasen authored
      2004-12-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first)
      	(gtk_real_menu_shell_activate_current): Use
      	_gtk_menu_item_popup_submenu() to make keynav into submenus work
      	instantaneously, independent of the popup delay.  (#161140)
      
      	* gtk/gtkmenuitem.[hc]: _-prefix gtk_menu_item_popup_submenu() and
      	make it non-static.
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove unused variables.
      8b927c6f
    • James M. Cape's avatar
      Use a GtkComboBox in SELECT_FOLDER mode (#157726). · b418bf3a
      James M. Cape authored
      2004-12-15  James M. Cape  <jcape@ignore-your.tv>
      
              * gtk/gtkfilechooserbutton.c (struct _GtkFileChooserButtonPrivate)
              (gtk_file_chooser_button_init)
              (gtk_file_chooser_button_file_chooser_iface_init)
              (gtk_file_chooser_button_add_shortcut_folder)
              (gtk_file_chooser_button_remove_shortcut_folder)
              (gtk_file_chooser_button_constructor)
              (gtk_file_chooser_button_set_property)
              (gtk_file_chooser_button_destroy)
              (gtk_file_chooser_button_finalize)
              (get_icon_theme) (get_display_name_for_path) (model_get_type_position)
              (model_free_row_data) (model_add_special) (model_add_other)
              (model_add_volumes) (model_add_bookmarks)
              (model_update_current_folder) (model_remove_rows)
              (filter_model_visible_func) (combo_box_row_separator_func)
              (name_cell_data_func) (update_combo_box) (fs_volumes_changed_cb)
              (fs_bookmarks_changed_cb) (combo_box_changed_cb)
              (change_icon_size): Use a GtkComboBox in SELECT_FOLDER mode (#157726).
      
              * gtk/gtkfilechooserbutton.c:
              * gtk/gtkfilechooserbutton.h (gtk_file_chooser_button_new)
              (gtk_file_chooser_button_new_with_backend): Add @action to constructors
              to match other GtkFileChooser impls. API CHANGE.
      
              * docs/tools/widgets.c (create_file_button):
              * tests/testfilechooserbutton.c (main): Update callers.
      
              * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Reflect API
              change.
      
              * tests/testfilechooserbutton.c: Add LGPL license.
              (main): Added GOption parser for --backend and --right-to-left cmd line
              args.
              (add_pwds_parent_as_shortcut_clicked_cb)
              (del_pwds_parent_as_shortcut_clicked_cb) (tests_button_clicked_cb):
              Add shortcut_folders test.
              (chooser_current_folder_changed_cb) (chooser_selection_changed_cb)
              (chooser_file_activated_cb) (chooser_update_preview_cb): Print URIS,
              not filenames.
      b418bf3a
    • Matthias Clasen's avatar
      Don't try to filter if impl->current_filter is NULL. (#161329, R. · 43f85261
      Matthias Clasen authored
      2004-12-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooserdefault.c (get_is_file_filtered): Don't
      	try to filter if impl->current_filter is NULL.  (#161329,
      	R. McFarland)
      43f85261
    • Federico Mena Quintero's avatar
      Merged from gtk-2-4: · 9f558a15
      Federico Mena Quintero authored
      2004-12-14  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-4:
      
      	Fix #145470:
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_initial_focus): Queue a pending
      	operation to select the first row if we are not finished loading
      	yet.
      	(gtk_file_chooser_default_class_init): Override GtkWidget::map().
      	(gtk_file_chooser_default_map): New ::map() handler; refresh the
      	file and bookmark lists.
      
      	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_class_init):
      	Override GtkWidget::map() and GtkWidget::unmap().
      	(gtk_file_chooser_dialog_constructor): Don't call initial_focus()
      	here.
      	(gtk_file_chooser_dialog_map): Map the file chooser widget if
      	needed.  Call initial_focus() here.
      	(gtk_file_chooser_dialog_unmap): Unmap the file chooser widget.
      	When we are re-mapped, the widget will get mapped as well and it
      	will have a chance to refresh.
      9f558a15
  10. 14 Dec, 2004 4 commits