1. 23 Aug, 2004 10 commits
  2. 22 Aug, 2004 13 commits
    • Philip Langdale's avatar
      Two signals (gtk_action_sync_property and gtk_action_sync_sensitive) were · 515c055c
      Philip Langdale authored
      2004-08-22  Philip Langdale  <plangdale@vmware.com>
      
      	* gtk/gtkaction.c (gtk_action_disconnect_proxy): Two signals
      	(gtk_action_sync_property and gtk_action_sync_sensitive) were
      	not being correctly disconnected, leading to actions continuing
      	to affect disconnected proxies. (#150607)
      515c055c
    • Tor Lillqvist's avatar
      Don't show TEMP windows in the Task Manager. Implement by calling · 7ed263a2
      Tor Lillqvist authored
      2004-08-22  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_new_internal,
      	gdk_window_new, gdk_window_set_skip_taskbar_hint): Don't show TEMP
      	windows in the Task Manager. Implement by calling
      	gdk_window_set_skip_taskbar_hint(TRUE) on them. (#145481, Tim
      	Evans)
      7ed263a2
    • Tor Lillqvist's avatar
      Report whole of (primary) monitor, including any taskbars. Excluding the · a63a44ff
      Tor Lillqvist authored
      2004-08-22  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkdisplay-win32.c (enum_monitor, gdk_display_open):
      	Report whole of (primary) monitor, including any taskbars.
      	Excluding the taskbar area from the "root window" reported to GDK
      	doesn't seem to be that useful although gdk/win32 had been doing it
      	for a very long time. (#149013, see also #145467 and #148526)
      a63a44ff
    • Soeren Sandmann's avatar
      gtk/gtkexpander.c · c49739a0
      Soeren Sandmann authored
      Sun Aug 22 16:55:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkexpander.c
      	* gtk/gtkalignment.c:
      	* gtk/gtktexttag.c
      	Make enums match property names. Found by a script by Tommi
      	Komulainen.
      
      	* gtk/gtkpaned.c (gtk_paned_class_init): fix min/max mixup.
      
      Sun Aug 22 16:09:49 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkliststore.h (struct _GtkListStore):
      	* gtk/gtkliststore.c (gtk_list_store_init):
      	* gtk/gtkliststore.c (gtk_list_store_insert):
      	* gtk/gtkliststore.c (gtk_list_store_remove):
      	Restore length field; PyGTK and maybe others use it directly.
      c49739a0
    • Soeren Sandmann's avatar
      Restore length field; PyGTK and maybe others use it directly. · 34110c42
      Soeren Sandmann authored
      Sun Aug 22 16:09:49 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkliststore.h (struct _GtkListStore):
      	* gtk/gtkliststore.c (gtk_list_store_init):
      	* gtk/gtkliststore.c (gtk_list_store_insert):
      	* gtk/gtkliststore.c (gtk_list_store_remove):
      	Restore length field; PyGTK and maybe others use it directly.
      34110c42
    • Soeren Sandmann's avatar
      s/CYCLE_HANDLE_FOCUS/CYCLE_CHILD_FOCUS/ · 53f4405a
      Soeren Sandmann authored
      
      Sun Aug 22 15:46:56 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkpaned.c (gtk_paned_class_init):
      	s/CYCLE_HANDLE_FOCUS/CYCLE_CHILD_FOCUS/
      
      	* gtk/gtkfontbutton.c (gtk_font_button_class_init):
      	s/PROP_SHOW_SIZE/PROP_SHOW_STYLE/
      
      	Both pointed out by Tommi Komulainen.
      53f4405a
    • Soeren Sandmann's avatar
      Use PROP_MAX_POSITION, not PROP_MIN_POSITION for the max_position · b371e715
      Soeren Sandmann authored
      Sun Aug 22 13:44:53 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkpaned.c (gtk_paned_class_init): Use PROP_MAX_POSITION,
      	not PROP_MIN_POSITION for the max_position property. Fix pointet
      	out by Tommi Komulainen.
      b371e715
    • Soeren Sandmann's avatar
      Normalize the position so we don't create paths with off-list indices. · 9c34ec2e
      Soeren Sandmann authored
      Sun Aug 22 13:32:33 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkliststore.c (gtk_list_store_insert): Normalize the
      	position so we don't create paths with off-list
      	indices. (#150320).
      9c34ec2e
    • Soeren Sandmann's avatar
      Use the correct tree path (#150289, Morten Welinder). · 6b4ef37c
      Soeren Sandmann authored
      Sun Aug 22 12:04:59 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Use the
      	correct tree path (#150289, Morten Welinder).
      6b4ef37c
    • Matthias Clasen's avatar
      Fix a mixup in the handling of dest_channels. (#111922, Christophe · 33c74e30
      Matthias Clasen authored
      Sun Aug 22 03:20:56 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* pixops/pixops.c (pixops_scale_nearest): Fix a mixup in the handling
      	of dest_channels.  (#111922, Christophe Fergeau)
      33c74e30
    • Matthias Clasen's avatar
      Fix #150406, reported by Fernando San Martín Woerner, patch by Gustavo · 07b5626f
      Matthias Clasen authored
      Sun Aug 22 00:08:44 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Fix #150406, reported by Fernando San Martín Woerner, patch
      	by Gustavo Carneiro.
      
      	* gtk/gtkentrycompletion.c
      	(gtk_entry_completion_default_completion_func): Check that
      	column is of type G_TYPE_STRING before proceeding.
      07b5626f
    • Matthias Clasen's avatar
      Don't use an uninitialized tree iter. (#150414, Torsten Schoenfeld) · 54938b0c
      Matthias Clasen authored
      Sat Aug 21 23:53:39 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an
      	uninitialized tree iter.  (#150414, Torsten Schoenfeld)
      54938b0c
    • Matthias Clasen's avatar
      Fix #150738, Tomislav Jonjic. · 448f2229
      Matthias Clasen authored
      Sat Aug 21 23:29:54 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Fix #150738, Tomislav Jonjic.
      
      	* gtk/gtktoolitem.h (GTK_IS_TOOL_ITEM_CLASS):
      	* gtk/gtktoolbutton.h (GTK_IS_TOOL_BUTTON_CLASS):
      	* gtk/gtktoggleaction.h (GTK_IS_TOGGLE_ACTION_CLASS):
      	* gtk/gtkseparatortoolitem.h (GTK_IS_SEPARATOR_TOOL_ITEM_CLASS):
      	* gtk/gtkradiotoolbutton.h (GTK_IS_RADIO_TOOL_BUTTON_CLASS):
      	* gtk/gtkradioaction.h (GTK_IS_RADIO_ACTION_CLASS):
      	* gtk/gtkuimanager.h (GTK_IS_UI_MANAGER_CLASS):
      	* gtk/gtkaction.h (GTK_IS_ACTION_CLASS): Fix macro definitions.
      448f2229
  3. 20 Aug, 2004 1 commit
  4. 19 Aug, 2004 1 commit
    • Manish Singh's avatar
      demos/testpixbuf-save.c Get rid of some unnecessary casts. · a1f93eb1
      Manish Singh authored
      Wed Aug 18 17:25:26 2004  Manish Singh  <yosh@gimp.org>
      
              * demos/testpixbuf-save.c
              * demos/gtk-demo/hypertext.c: Get rid of some unnecessary casts.
      
              * demos/gtk-demo/appwindow.c: Make activate_email and activate_url
              match the arguments for GtkAboutDialogActivateLinkFunc.
      a1f93eb1
  5. 18 Aug, 2004 4 commits
    • Manish Singh's avatar
      Initialize height from fixed_height before we do anything, so it always · ba6fc3cc
      Manish Singh authored
      Wed Aug 18 16:18:00 2004  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_row_inserted): Initialize height
              from fixed_height before we do anything, so it always has a valid
              value.
      
              * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Fix call
              to gtk_tree_model_get (missing "," in param list).
      ba6fc3cc
    • Federico Mena Quintero's avatar
      Merged from 2.4: · 65ddedd1
      Federico Mena Quintero authored
      2004-08-18  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from 2.4:
      
      	Fixes #149251:
      
      	* gtk/gtkfilechooserdefault.c: Renamed SHORTCUTS_COL_PATH to
      	SHORTCUTS_COL_DATA.  Add SHORTCUTS_COL_IS_VOLUME, to determine
      	easily whether the SHORTCUTS_COL_DATA points to a GtkFilePath or a
      	GtkFileSystemVolume.
      	(shortcuts_model_create): Create a boolean column for
      	SHORTCUTS_COL_IS_VOLUME.
      	(shortcuts_reload_icons): Simplify with the use of the
      	SHORTCUTS_COL_IS_VOLUME column.  Don't leak the pixbuf.
      	(shortcuts_insert_path): Add the SHORTCUTS_COL_IS_VOLUME data.
      	(shortcuts_free_row_data): New helper function; frees the data
      	columns for an iter.
      	(shortcuts_remove_rows): Don't take a callback for freeing the
      	data; free everything here instead.  Use
      	shortcuts_free_row_data().
      	(volume_remove_cb): Removed.
      	(remove_bookmark_cb): Removed.
      	(remove_row_cb): Make this a single generic function to delete
      	rows.
      	(shortcuts_add_volumes): Use remove_row_cb().
      	(shortcuts_add_bookmarks): Likewise.
      	(struct _GtkFileChooserDefault): Removed the
      	shortcuts_current_folder_is_volume field.
      	(shortcuts_add_current_folder): Oops, don't free the volume.
      	(remove_current_folder_cb): Removed.
      	(shortcut_find_position): Simplify through the use of the
      	SHORTCUTS_COL_IS_VOLUME column.
      	(remove_selected_bookmarks): Assert that we don't get a volume.
      	(shortcuts_reorder): Likewise; also, plug a leak.
      	(gtk_file_chooser_default_remove_shortcut_folder): Simplify
      	through the use of shortcuts_remove_rows().
      	(gtk_file_chooser_default_list_shortcut_folders): Assert that we
      	don't get a volume.
      	(shortcuts_activate_iter): Simplify.
      	(home_folder_handler): Simplify by using
      	shortcuts_activate_iter().
      	(shortcuts_free): New function; frees all the data columns.
      	(gtk_file_chooser_default_finalize): Unref the
      	shortcuts_filter_model and the shortcuts model data first.
      65ddedd1
    • Manish Singh's avatar
      Applied patch from Olivier Andrieu to fix bug #150440. · 9f326d61
      Manish Singh authored
      Wed Aug 18 08:31:17 2004  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkiconview.c: Applied patch from Olivier Andrieu to fix
              bug #150440.
      
              * gtk/gtkicontheme.c (gtk_icon_theme_init): xdg_data_dirs should
              match constness attributes of g_get_system_data_dirs ().
      9f326d61
    • Manish Singh's avatar
      Shut up CVS · 5734f5f7
      Manish Singh authored
      5734f5f7
  6. 17 Aug, 2004 6 commits
    • Matthias Clasen's avatar
      Look up icon themes in the directories specified in the icon theme spec: · 11396cb7
      Matthias Clasen authored
      2004-08-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_init): Look up icon themes in the
      	directories specified in the icon theme spec: $HOME/.icons,
      	$XDG_DATA_DIRS/icons, /usr/share/pixmaps. Note that GTK+ used to also look
      	in $GTK_DATA_DIR/icons, $GTK_DATA_DIR/pixmaps and /usr/share/icons.  (#148694)
      11396cb7
    • Matthias Clasen's avatar
      Take widget->state into account when painting the shadows. (#150351, Tim · eacbe5e1
      Matthias Clasen authored
      2004-08-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkframe.c (gtk_frame_paint): Take widget->state into account when
      	painting the shadows.  (#150351, Tim Janik)
      eacbe5e1
    • Matthias Clasen's avatar
      No need for INCLUDE_INTERNAL_SYMBOLS anymore. · 54fb7a7b
      Matthias Clasen authored
      2004-08-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore.
      
      	* gdk/gdk.symbols: Don't use #if defined().
      
      	* gdk/Makefile.am (gdkalias.h):
      	* gtk/Makefile.am (gtkalias.h): Don't use cpp to filter gtk.symbols.
      
      	* gdk/makegdkalias.pl:
      	* gtk/makegtkalias.pl: Move the #ifdef processing into the perl script, and
      	keep the #ifdefs which differentiate between platforms.
      
      	* gtk/Makefile.am (gtk_private_h_sources): Remove gtkinternals.h, it is no
      	longer needed.
      54fb7a7b
    • Matthias Clasen's avatar
      Use g_message() throughout, add RTL envar for rtl testing. · 3cc0ae60
      Matthias Clasen authored
      2004-08-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/testfilechooserbutton.c: Use g_message() throughout, add RTL envar for
      	rtl testing.
      
      	* gtk/gtkfilechooserbutton.c: Get rid of HAVE_CONFIG_H.
      	(gtk_file_chooser_button_init): Use gtk_drag_dest_add_text_targets().
      	(gtk_file_chooser_button_drag_data_received): Use gtk_selection_data_get_text().
      	(gtk_file_chooser_button_set_dialog): _gtk_file_chooser_entry_set_base_folder()
      	seems to expect a path, not an uri.
      	(update_dialog): Handle g_filename_from_uri() returning NULL, don't free
      	info if it is NULL.
      
      	* gtk/gtkfilechooserbutton.h: Minor stylistic changes.
      3cc0ae60
    • Matthias Clasen's avatar
      ADd GtkFileChooserButton docs. · 3a76d484
      Matthias Clasen authored
      3a76d484
    • Matthias Clasen's avatar
      New widget to go along with GtkFontButton and GtkColorButton for use in · a3aa10e5
      Matthias Clasen authored
      2004-08-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooserbutton.[hc]: New widget to go along with
      	GtkFontButton and GtkColorButton for use in preference dialogs.
      	Replaces GnomeFileEntry.  (#148108, James M. Cape)
      
      	* gtk/gtk.h: Include gtkfilechooserbutton.h
      
      	* gtk/Makefile.am (gtk_public_h_sources): Add gtkfilechooserbutton.h
      	(gtk_c_sources): Add gtkfilechooserbutton.c
      
      	* gtk/gtk.symbols: Add the GtkFileChooserButton symbols.
      
      	* gtk/gtkfilechooserutils.[hc]: Make the delegate quark available.
      
      	* gtk/gtkfilechooserentry.[hc] (_gtk_file_chooser_entry_new): Allow
      	to suppress tab-eating using the new eat_tabs argument. Adjust all
      	callers.
      
      	* tests/testfilechooserbutton.c: Test for GtkFileChooserButton.
      
      	* tests/Makefile.am (noinst_PROGRAMS): Add testfilechooserbutton
      a3aa10e5
  7. 16 Aug, 2004 5 commits
    • Morten Welinder's avatar
      Comment out mallinfo stuff. Fix g_print %-strings. · 36dfdad4
      Morten Welinder authored
      2004-08-16  Morten Welinder  <terra@gnome.org>
      
      	* tests/testtreemodel.c (test_run): Comment out mallinfo stuff.
      	Fix g_print %-strings.
      36dfdad4
    • Matthias Clasen's avatar
      Doc update. · 517c3c9d
      Matthias Clasen authored
      2004-08-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_render_icon): Doc update.
      
      	* gtk/gtkiconfactory.c (render_icon_name_pixbuf): When the size is -1,
      	use the available size closest to 48.  (#150147)
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes): Actually return
      	a pointer to the beginning of the sizes array, not the end.
      517c3c9d
    • Morten Welinder's avatar
      Fix C99ism. · 7a3114d7
      Morten Welinder authored
      2004-08-16  Morten Welinder  <terra@gnome.org>
      
      	* gtk/gtksequence.c (_gtk_sequence_set): Fix C99ism.
      7a3114d7
    • Christian Rose's avatar
      Added "bs" to ALL_LINGUAS. Added Bosnian translations by Kenan · 4a32cde9
      Christian Rose authored
      2004-08-16  Christian Rose  <menthos@menthos.com>
      
      	* configure.in: Added "bs" to ALL_LINGUAS.
      	* po/bs.po, po-properties/bs.po: Added Bosnian translations
      	by Kenan Hadžiavdić <kenanh@frisurf.no>.
      4a32cde9
    • Matthias Clasen's avatar
      Updates. · 4b54dcf6
      Matthias Clasen authored
      4b54dcf6