- 19 Dec, 2003 7 commits
-
-
Kristian Rietveld authored
Fri Dec 19 21:52:46 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkmenu.c (gtk_menu_do_insert): move item insertion logic here from gtk_menu_real_insert(), (gtk_menu_real_insert): just call gtk_menu_do_insert(), (gtk_menu_reorder_child): run _do_insert after inserting the child (unbreaks _reorder_child, reported by Tim Janik).
-
Federico Mena Quintero authored
2003-12-19 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use g_date_strftime() for UTF-8 correctness; use Julian dates to simplify the function.
-
Christian Neumair authored
-
Danilo Šegan authored
-
Matthias Clasen authored
Fri Dec 19 01:47:34 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request): Test extra_width, not extra_height, when determining whether to set extra_width. (#129647, Jan Arne Petersen)
-
Matthias Clasen authored
-
Matthias Clasen authored
Fri Dec 19 01:35:34 2003 Matthias Clasen <maclas@gmx.de> Fix the behaviour of insensitive actions, which was broken when gtk_action_activate() was changed to pay attention to sensitivity (#129557, Christian Persch) * gtk/gtkaction.h: * gtk/gtkaction.c (_gtk_action_emit_activate): New auxiliary function to emit an activate signal without regard to sensitivity. * gtk/gtkradioaction.c: * gtk/gtktoggleaction.c: Always use _gtk_action_emit_activate() instead of gtk_action_activate().
-
- 18 Dec, 2003 12 commits
-
-
Kristian Rietveld authored
Thu Dec 18 19:13:12 2003 Kristian Rietveld <kris@gtk.org> Fixes #110249, reworked patch from Joshua N Pritikin. * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_type), (gtk_tree_model_sort_tree_drag_source_init), (gtk_tree_model_sort_row_draggable), (gtk_tree_model_sort_drag_data_get), (gtk_tree_model_sort_drag_data_delete): implement GtkTreeDragSource. * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_type), (gtk_tree_model_filter_tree_drag_source_init), (gtk_tree_model_filter_row_draggable), (gtk_tree_model_filter_drag_data_get), (gtk_tree_model_filter_drag_data_delete): ditto.
-
Miloslav Trmac authored
-
Kristian Rietveld authored
Thu Dec 18 18:01:01 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_class_init): add key bindings for "*" and "/" (expand/collapse all). (#110195, reported by Calum Benson).
-
Kristian Rietveld authored
Thu Dec 18 17:52:56 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): clear the extra_attrs list if we set "text" after "markup". (Fixes #121933, Federico Mena Quintero).
-
Alexander Larsson authored
2003-12-18 Alexander Larsson <alexl@redhat.com> * gtk/gtkicontheme.c (gtk_icon_info_get_embedded_rect): Fix typo that used the wrong x/y values for the x1, y1 point
-
Kristian Rietveld authored
Thu Dec 18 01:41:50 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init), (gtk_cell_renderer_text_finalize), (gtk_cell_renderer_text_get_property), (gtk_cell_renderer_text_set_property), (get_layout): added language and language_set properties like GtkTextTag has. (#103800, reported by Owen Taylor).
-
Matthias Clasen authored
Thu Dec 18 01:37:59 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkwidget.c (gtk_widget_activate): Correct misleading docs. * gtk/gtkbutton.c (gtk_button_class_init): Add docs for the "activate" signal. (#129358, Ka-Hing Cheung)
-
Kristian Rietveld authored
Thu Dec 18 01:21:59 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_class_init): Jonathan got the logical flag backwards in the expand_collapse_cursor_row bindings, fixing. (gtk_tree_view_real_expand_collapse_cursor_row): invert expand flag when !logical and in RTL. (Fixes #107527, reported by Noah Levitt).
-
Christian Rose authored
2003-12-18 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation.
-
Matthias Clasen authored
Thu Dec 18 01:24:35 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtk-sections.txt: Add gtk_message_dialog_set_markup
-
Kristian Rietveld authored
Thu Dec 18 01:10:16 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_button_press): only start editing when activated by the left mouse button. (#106869, patch from Evan Martin).
-
Kristian Rietveld authored
Thu Dec 18 00:57:18 2003 Kristian Rietveld <kris@gtk.org> Migrating all cell renderers to use the new instance private data construction. * gtk/gtktreeprivate.h: remove GtkCellRendererInfo, as it is no longer being used. * gtk/gtkcellrenderer.c (gtk_cell_renderer_init), (gtk_cell_renderer_class_init), (gtk_cell_renderer_get_property), (set_cell_bg_color), (gtk_cell_renderer_render): remove old GtkCellRendererInfo handling, migrate to instance private data. * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done), (gtk_cell_renderer_text_start_editing): moved focus_out_id from GtkCellRendererInfo to text renderer private data. * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_init), (gtk_cell_renderer_pixbuf_class_init), (gtk_cell_renderer_pixbuf_finalize), (gtk_cell_renderer_pixbuf_get_property), (gtk_cell_renderer_pixbuf_set_property), (gtk_cell_renderer_pixbuf_create_stock_pixbuf), (gtk_cell_renderer_pixbuf_get_size), (gtk_cell_renderer_pixbuf_render): migrate to instance private data. * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init), (gtk_cell_renderer_toggle_get_property), (gtk_cell_renderer_toggle_set_property), (gtk_cell_renderer_toggle_render): migrate to instance private data.
-
- 17 Dec, 2003 10 commits
-
-
Kristian Rietveld authored
Thu Dec 18 00:24:32 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init), (gtk_cell_renderer_text_get_property), (gtk_cell_renderer_text_set_property), (get_layout): add a single-paragraph-mode property, use private instance data. (Fixes #114943, reported by Morten Welinder).
-
Kristian Rietveld authored
Thu Dec 18 00:07:01 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodel.h (gtk_tree_path_new_root), (gtk_tree_model_get_iter_root): now deprecated (#106953, reported by Matthias Clasen).
-
Kristian Rietveld authored
Wed Dec 17 23:50:56 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property): if we set a new stock_id and there was a previous stock_id, unref the pixbuf (since it was used to renderer the previous stock_id and stock_id might have been set to NULL now). (Fixes #122966).
-
Marco Pesenti Gritti authored
2003-12-17 Marco Pesenti Gritti <marco@gnome.org> * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_get_iter): Check that index is not bigger than level array length also when depth is 1. Now get_iter_first correctly return FALSE when the model is empty (#129411).
-
Kristian Rietveld authored
Wed Dec 17 23:31:19 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_search_equal_func): only try to strcmp or strlen if we managed to normalize and casefold the string correctly. Fixes crashes with non-UTF8 strings. (#121617, Patch from Tim-Philipp Müller).
-
Matthias Clasen authored
Wed Dec 17 23:20:23 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE(). * gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c, gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c, gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to GSourceFunc instead of GtkFunction. (#129525, Olexiy Avramchenko)
-
Kristian Rietveld authored
Wed Dec 17 23:16:45 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning. (#122727, patch from Kjartan Maraas).
-
Kristian Rietveld authored
Wed Dec 17 21:23:01 2003 Kristian Rietveld <kris@gtk.org> Yay! Fixed height mode! Hooray! (Part 2 of #80868). * gtk/gtktreeview.c (gtk_tree_view_class_init), (gtk_tree_view_init), (gtk_tree_view_set_property), (gtk_tree_view_get_property), (gtk_tree_view_set_model): add a fixed_height_mode property, (intialize_fixed_height_mode), (do_validate_rows), (column_sizing_notify), (gtk_tree_view_set_fixed_height_mode), (gtk_tree_view_style_set), (gtk_tree_view_row_changed), (gtk_tree_view_row_inserted), (gtk_tree_view_remove_column), (gtk_tree_view_insert_column): implement fixed height mode, (gtk_tree_view_append_column), (gtk_tree_view_insert_column), (gtk_tree_view_insert_column_with_attributes), (gtk_tree_view_insert_column_with_data_func): update docs. * gtk/gtktreeprivate.h: add two fields to GtkTreePrivate.
-
Murray Cumming authored
2003-12-07 Murray Cumming <murrayc@usa.net> * gtk/gtktreemodel.c: (row_inserted_marshal, row_deleted_marshal, rows_reorderered_marshal) Actually call the default signal handlers instead of calling the marshallers themselves in an endless loop. These default signal handler callbacks are not actually set so this is only noticed by gtkmm at the moment. Bug 123923.
-
Federico Mena Quintero authored
2003-12-16 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a "volumes-changed" signal. Added the following methods: list_volumes volume_free volume_get_base_path volume_get_is_mounted volume_mount volume_get_display_name volume_render_icon * gtk/gtkfilesystem.c (gtk_file_system_base_init): Create the "volumes-changed" signal. (gtk_file_system_list_volumes): New function. (gtk_file_system_volume_free): New function. (gtk_file_system_volume_get_base_path): New function. (gtk_file_system_volume_get_is_mounted): New function. (gtk_file_system_volume_mount): New function. (gtk_file_system_volume_get_display_name): New function. (gtk_file_system_volume_render_icon): New function. * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_free): Implement. (gtk_file_system_unix_volume_get_base_path): Implement. (gtk_file_system_unix_volume_get_is_mounted): Implement. (gtk_file_system_unix_volume_mount): Implement. (gtk_file_system_unix_volume_get_display_name): Implement. (gtk_file_system_unix_volume_render_icon): Implement. * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): Added a field for the "volumes-changed" signal connection. (gtk_file_chooser_default_set_property): Connect to "volumes-changed" on the file system. (gtk_file_chooser_default_finalize): Disconnect from "volumes-changed". * gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): New helper function. (shortcuts_get_index): New helper function. (shortcuts_insert_path): Can now insert volumes as well as paths. (shortcuts_append_paths): Don't take is_file_system_root. (shortcuts_add_volumes): New function. (shortcuts_append_file_system_roots): Removed. (create_shortcuts_model): Use shortcuts_add_volumes(). (remove_bookmark_button_clicked_cb): Check that the index is within range. (bookmarks_check_add_sensitivity): Take volumes into account. (shortcuts_get_selected_index): New helper function. (remove_bookmark_button_clicked_cb): Use shortcuts_get_selected_index(). (bookmarks_check_remove_sensitivity): Likewise. (shortcuts_select_func): Likewise. (shortcuts_row_activated_cb): Handle volumes as well as normal paths. (shortcuts_activate_volume): New function. (struct _GtkFileChooserDefault): Removed the bookmarks_set and bookmarks_iter fields. (shortcuts_append_bookmarks): Use shortcuts_remove_rows(). (bookmarks_changed_cb): Use shortcuts_add_bookmarks(). (remove_bookmark_rows): Removed. (shortcuts_add_bookmarks): New function; moved most of the code over from shortcuts_append_bookmarks(). (shortcuts_append_bookmarks): Add the separator node here, and then call shortcuts_add_bookmarks().
-
- 16 Dec, 2003 4 commits
-
-
Manish Singh authored
Tue Dec 16 15:01:10 2003 Manish Singh <yosh@gimp.org> * gtk/gtkfilechooserwidget.c: fix preprocessor conditional confusion. (G_OS_UNIX/G_OS_WIN32 stuff)
-
Christian Rose authored
2003-12-16 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation.
-
Danilo Šegan authored
2003-12-16 Danilo Šegan <dsegan@gmx.net> * sr.po, sr@Latn.po: Updated Serbian translation.
-
Matthias Clasen authored
Tue Dec 16 01:46:46 2003 Matthias Clasen <maclas@gmx.de> Do not interpret distant clicks as double-clicks (#116541, Bernhard Walle): * gdk/gdkdisplay.h (struct GdkDisplay): Add new fields double_click_distance, button_x and button_y. * gdk/gdkdisplay.c (gdk_display_init): Initialize the new fields. * gdk/gdkdisplay.h: * gdk/gdkevents.c (gdk_display_set_double_click_distance): New function to set the double click distance on a display. * gdk/gdkevents.c: Take double click distance into account when generating single, double or triple clicks. * gtk/gtksettings.c: Add new setting "gtk-double-click-distance". * gdk/x11/gdkevents-x11.c: Add the XSetting "Net/DoubleClickDistance" and map it to "gtk-double-click-distance".
-
- 15 Dec, 2003 7 commits
-
-
Federico Mena Quintero authored
2003-12-15 Federico Mena Quintero <federico@ximian.com> * gtk/gtkdialog.c: Sigh, revert the change.
-
Federico Mena Quintero authored
2003-12-15 Federico Mena Quintero <federico@ximian.com> * gtk/gtkdialog.c (dialog_has_cancel): Removed. (gtk_dialog_close): Don't call dialog_has_cancel(). At least allows sane behavior for #101293.
-
Miloslav Trmac authored
-
Francisco Javier F. Serrador authored
2003-12-15 Francisco Javier F. Serrador <serrador@cvs.gnome.org> *es.po: Updated Spanish translation.
-
Danilo Šegan authored
2003-12-15 Danilo Šegan <dsegan@gmx.net> * sr.po, sr@Latn.po: Updated Serbian translation.
-
Matthias Clasen authored
Mon Dec 15 01:03:08 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtk-sections.txt: Add gtk_button_[sg]et_alignment. Mon Dec 15 01:03:08 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtk-sections.txt: Add gtk_button_[sg]et_alignment.
-
Matthias Clasen authored
Mon Dec 15 00:56:54 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkbutton.[hc]: Add new properties, xalign and yalign, with getter and setter gtk_button_[sg]et_alignment(), to set the alignment of the child. (#70961, Jody Goldberg)
-