- 26 Aug, 2003 2 commits
-
-
Matthias Clasen authored
2003-08-26 Matthias Clasen <maclas@gmx.de> * gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize for length, not gsize. * gtk/gtkuimanager.c: Refactor the XML format a bit: rename <Root> to <ui> and make it optional in strings. Rename verb to action, <dockitem> to <toolbar>, <menu> to <menubar>, <submenu> to <menu>. * demos/gtk-demo/appwindow.c: * tests/testactions.c: * tests/testmerge.c: * tests/merge-1.ui: * tests/merge-2.ui: * tests/merge-3.ui: Adjust to the new XML format.
-
Owen Taylor authored
Mon Aug 25 19:55:55 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtktextview.c (gtk_text_view_update_layout_width): Since we add one to the layout's reported width to account for the cursor, we need to subtract one when setting the wrap width for the layout. (Fixes infinite loop (#120325, Federico Crozat) * gtk/gtktextlayout.c (gtk_text_layout_get_line_display): Be a bit more careful about rounding when converting wrapped width from Pango units to pixels.
-
- 25 Aug, 2003 9 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Owen Taylor authored
Wed Aug 20 21:26:49 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkplug.c (gtk_plug_focus): Send the focus on to the parent when there was no focus widget before and no focus widget after - that is, when there are no focusable widgets. (#108678, help tracking it down from Padraig O'Briain, Federico Mena Quintero, ) * gtk/gtkxembed.[ch]: Move various shared utilities for the XEMBED protocol eused by GtkPlug and GtkSocket here. * gtk/gtkxembed.[ch] gtkplug.c gtksocket.c: Implement a flag bit that is sent with focus mesages to indicate that the focus has wrapped around on the toplevel; use this bit to catch infinite loops when there is no focusable widget at ll in the entire toplevel. * tests/testsocket.c (child_read_watch): Remove an extraneous unref. * gtk/gtkplug.c gtk/gtksocket.c gtk/gtkxembed.h: Up XEMBED protocol version to 1, add logic for sending the right version in XEMBED_EMBEDDED_NOTIFY. * gtk/gtksocket.c (gtk_socket_add_window): Send the embedder window in the XEMBED_EMBEDDED_NOTIFY as the spec requires.
-
Owen Taylor authored
Mon Aug 25 17:28:04 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtknotebook.c (gtk_notebook_forall): Don't include page->menu_label - causes various problems, including #12047.
-
Kristian Rietveld authored
Mon Aug 25 23:21:43 2003 Kristian Rietveld <kris@gtk.org> Merge from stable. Fixes #115871, reported by Michael Natterer. * gtk/gtktreeprivate.h: added GtkTreeSelectMode enum, added ctrl_pressed and shift_pressed bitfields, (_gtk_tree_selection_internal_select_node): replace GdkModifierType arg with GtkTreeSelectMode. * gtk/gtktreeselection.c (gtk_tree_selection_set_mode), (gtk_tree_selection_select_path), (gtk_tree_selection_unselect_path), (_gtk_tree_selection_internal_select_node): all updated for GdkModifierType -> GtkTreeSelectMode move. * gtk/gtktreeview.c (gtk_tree_view_button_press): set ctrl_pressed and shift_pressed around selection handling block, (gtk_tree_view_real_select_cursor_row), (gtk_tree_view_real_toggle_cursor_row), (gtk_tree_view_real_selection_cursor_parent), (gtk_tree_view_real_set_cursor): use ctrl_pressed and shift_pressed, instead of checking the event state. And also updates for the GdkModifierType -> GtkTreeSelectMode move.
-
Owen Taylor authored
Wed Aug 20 21:26:49 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkplug.c (gtk_plug_focus): Send the focus on to the parent when there was no focus widget before and no focus widget after - that is, when there are no focusable widgets. (#108678, help tracking it down from Padraig O'Briain, Federico Mena Quintero, ) * gtk/gtkxembed.[ch]: Move various shared utilities for the XEMBED protocol eused by GtkPlug and GtkSocket here. * gtk/gtkxembed.[ch] gtkplug.c gtksocket.c: Implement a flag bit that is sent with focus mesages to indicate that the focus has wrapped around on the toplevel; use this bit to catch infinite loops when there is no focusable widget at ll in the entire toplevel. * tests/testsocket.c (child_read_watch): Remove an extraneous unref. * gtk/gtkplug.c gtk/gtksocket.c gtk/gtkxembed.h: Up XEMBED protocol version to 1, add logic for sending the right version in XEMBED_EMBEDDED_NOTIFY. * gtk/gtksocket.c (gtk_socket_add_window): Send the embedder window in the XEMBED_EMBEDDED_NOTIFY as the spec requires.
-
Owen Taylor authored
Mon Aug 25 16:15:41 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkkeys-x11.c: Fix up CapsLock and NumLock handling for non-XKB. Add a special case hack for NumLock on Sun servers. (Patch from Robert Basch, #115819)
-
Matthias Clasen authored
2003-08-25 Matthias Clasen <maclas@gmx.de> * gtk/gtkactiongroup.c (gtk_action_group_add_actions): Remove C99isms. (Morten Welinder)
-
- 24 Aug, 2003 10 commits
-
-
Matthias Clasen authored
2003-08-25 Matthias Clasen <maclas@gmx.de> * gtk/gtkactiongroup.[hc] (gtk_action_group_set_translate_func, gtk_action_group_set_translation_domain): Hooks for translation of label and tooltip in GtkActionGroupEntries. (#120620)
-
Matthias Clasen authored
2003-08-25 Matthias Clasen <maclas@gmx.de> * gtk/gtkactiongroup.h (GtkActionGroupEntryType): Namespace the enum values properly. Sorry about the resize grip trouble, Owen. (#120621) * gtk/gtkactiongroup.c: * demos/gtk-demo/appwindow.c: * tests/testmerge.c: * tests/testactions.c: Use new GtkActionGroupEntryType enum.
-
Owen Taylor authored
Sun Aug 24 17:14:44 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtk.h: Remove reference to gtkresizegrip.h.
-
Owen Taylor authored
Sun Aug 24 17:03:44 2003 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am: Fix accidental commit of references to gtkresizegrip.[ch]
-
Owen Taylor authored
Sun Aug 24 17:00:03 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkrc.c: Fix some missing initializations of rc_file->directory.
-
Matthias Clasen authored
-
Matthias Clasen authored
2003-08-24 Matthias Clasen <maclas@gmx.de> * gtk/tmpl/gtkmenumerge.sgml: * gtk/tmpl/gtkaction.sgml: * gtk/tmpl/gtkactiongroup.sgml: * gtk/tmpl/gtkradioaction.sgml: * gtk/tmpl/gtktoggleaction.sgml: New templates. * gtk/gtk-docs.sgml: * gtk/gtk-sections.txt: Add GtkMenuMerge, GtkAction, GtkActionGroup, GtkRadioAction, GtkToggleAction.
-
Matthias Clasen authored
2003-08-24 Matthias Clasen <maclas@gmx.de> * gtk/gtkaction.[ch]: * gtk/gtktoggleaction.[ch]: * gtk/gtktoggleactionprivate.h: * gtk/gtkradioaction.[ch]: * gtk/gtkactiongroup.[ch]: * gtk/gtkmenumerge.[ch]: A model-view separation for menus and toolbars, using the EggMenu code by James Henstridge. * gtk/gtk.h: Include new headers. * gtk/Makefile.am: Add new files. * tests/testactions.c: Test for actions. * tests/testmerge.c: Test for menu merging. * tests/merge-[123].ui: Test data for testmerge. * tests/Makefile.am: Add testactions and testmerge. * demos/gtk-demo/appwindow.c: Use GtkMenuMerge to construct the menubar and toolbar.
-
Anders Carlsson authored
2003-08-24 Anders Carlsson <andersca@gnome.org> * libegg/iconlist/eggiconlist.c: (egg_icon_list_paint_item), (egg_icon_list_paint_rubberband): Use gdk_draw_pixbuf. (egg_icon_list_item_unref): Call destroy_notify on the list item. Reported by Edd Dumbill.
-
Owen Taylor authored
Sat Aug 23 21:40:18 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkrc.c (gtk_rc_context_parse_one_file): Fix problem where rc_file->directory wasn't always getting set. (#120549, Luis Villa)
-
- 23 Aug, 2003 4 commits
-
-
Wang Jian authored
-
Raymond Penners authored
-
Raymond Penners authored
-
Metin Amiroff authored
2003-08-23 Metin Amiroff <metin@karegen.com> * az.po: Updated Azerbaijani translation.
-
- 22 Aug, 2003 1 commit
-
-
Christian Rose authored
2003-08-22 Christian Rose <menthos@menthos.com> * configure.in: Added "ne" to ALL_LINGUAS. * po/ne.po: Added Nepali translation by Pawan Chitrakar <pawan@nplinux.org>.
-
- 21 Aug, 2003 5 commits
-
-
Kristian Rietveld authored
-
Owen Taylor authored
Thu Aug 21 16:00:36 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkrc.c: Keep a list of current GtkRcFiles being parsed, not just the directories for those files. Use that to catch recursion. (Part of #114988)
-
Kristian Rietveld authored
Merge from stable. Fix option menu scrolling (#119821, Owen Taylor). * gtk/gtkmenu.c (gtk_menu_scroll_to): remove logic introduced by #80484 and the CLAMP, (get_menu_height): new function, (gtk_menu_real_move_scroll): sort of moved the CLAMP here to correct new_offset to handle page up/down right.
-
Owen Taylor authored
Thu Aug 21 15:17:42 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkkeys-x11.c: Change the interpretation of consumed_modifiers so that it contains: - Modifiers combinations actually found in state. - Single modifier modifier combinations. But not multi-modifier combinations that aren't in event->state. Document. (#100439)
-
Kristian Rietveld authored
Thu Aug 21 20:53:46 2003 Kristian Rietveld <kris@gtk.org> Slightly modified patch from Yann Rouillard to improve selection behavior with the mouse. Fixes #120187. * gtk/gtktreeview.c (gtk_tree_view_button_press): only select/deselect items on the first button press of button 1, expand checks for row_activated to include triple clicks.
-
- 20 Aug, 2003 7 commits
-
-
Kristian Rietveld authored
Thu Aug 21 01:33:51 2003 Kristian Rietveld <kris@gtk.org> Merge from stable. * gtk/gtkspinbutton.c (gtk_spin_button_size_request): always round approximate digit widths up, to avoid truncation, convert to pango pixels when we have the full string width instead of converting the approx digit width to pango pixels, take inner border and interior focus into account correctly. (Fixes #116368, patch from Morten Welinder).
-
Søren Sandmann Pedersen authored
-
Noah Levitt authored
2003-08-20 Noah Levitt <nlevitt@columbia.edu> * gtk/queryimmodules.c: Don't look at the same directory twice (in simple cases). (#120342)
-
Soeren Sandmann authored
Wed Aug 20 22:04:47 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gdk/gdkwindow.c: Make the layers in the paint stack have their own pixmap instead of sharing one. * tests/testgtk.c (create_get_image): Fixes to make the window fit on an 800x600 screen
-
Kristian Rietveld authored
Wed Aug 20 22:03:25 2003 Kristian Rietveld <kris@gtk.org> Merged from stable. * gtk/gtkspinbutton.c (start_spinning): change the type of step to gdouble, since it gets it's data from a gdouble (Fixes #113547).
-
Raymond Penners authored
-
Raymond Penners authored
-
- 19 Aug, 2003 2 commits
-
-
Owen Taylor authored
Mon Aug 18 17:19:12 2003 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.[ch]: Substantially rework the handling of status windows: - Store the current StatusWindow in the GtkIMContextXIM structure and vice-versa, so we don't have to hunt the window hierarchy on cleanup. - Use the Gtkidget hierarchy instead of/or as well as the GdkWindow hierarchy when finding the toplevel; this helps for things like GtkHandlebox - Watch GtkWidget::hierarchy_changed to catch changes in the toplevel without changes in the GdkWindow (reparenting) - Never create the GtkWindow for the status window unless we have text to display. - Various cleanups, add lots of comments. (#115077, much help from Takuro Ashie and Hidetoshi Tajima in tracking this down and figuring out a fix.) * modules/input/gtkimcontextxim.c (gtk_im_context_xim_focus_in): * modules/input/gtkimcontextxim.c: Track the current screen for each toplevel so that we show the status window on the right screen. (#116340, James Su) * modules/input/gtkimcontextxim.c: If create a new IC when we currently have the focus, call XSetICFocus() on it. * modules/input/gtkimcontextxim.c (get_im): Fix bug with multiple open screens.
-
Owen Taylor authored
Tue Aug 19 14:37:46 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkimmulticontext.[ch] (struct _GtkIMMulticontext): Replace client_window field with 'priv' pointer, retaining binary compatibility. * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave): save use_preedit/cursor_location/focus status and set up the new slave appropriately. (#118651, Botond Botyanszki)
-