- Nov 03, 2005
-
-
Tor Lillqvist authored
2005-11-03 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkcursor-win32.c (pixbuf_to_hbitmaps_alpha_winxp): Rename the variables for the color bitmap to have "color" in their name, for similarity with pixbuf_to_hbitmaps_normal(). Create a color bitmap for the mask, too, instead of creating a b&w bitmap with CreateBitmap(). Set up the mask bitmap's contents, ones for those pixels in the color bitmap where the alpha is zero, zero for other pixels. We used to use an unitialized mask bitmap! This meant that icons and cursors created presumably worked more or less by accident. Totally blank icons with zero alpha everywhere (as used by gtktrayicon.c) definitely did not work as expected.
-
Tor Lillqvist authored
2005-11-03 Tor Lillqvist <tml@novell.com> * gtk/Makefile.am: Include gtkstatusicon.c on all platforms. * gtk/gtkstatusicon.c: Implement for Win32. Use code from gtktrayicon-win32.c as applicable. (gtktrayicon-win32.c is not necessary and can be removed from CVS. It has never been mentioned in gtk/Makefile.am.) No tray icon widget, GtkImage or GtkTooltips are used on Win32. One label widget is used (but never shown) as gtk_widget_render_icon() needs a widget. Ifdefs used as necessary in several places. It might be cleaner to split out the backend-specific parts to separate files, or at least collect them into separate blocks in the file. (wndproc): New function. Window procedure to monitor mouse events in the system tray icon. Call gtk_status_icon_button_press() as needed. (create_tray_observer): New function. Creates a hidden window that only serves as a tray icon message observer.
-
Tor Lillqvist authored
2005-11-03 Tor Lillqvist <tml@novell.com> * tests/teststatusicon.c (icon_activated): Position the dialog with GTK_WIN_POS_CENTER. (do_quit): New function, hide and unref the GtkStatusIcon, and call gtk_main_quit(). (popup_menu): Add a Quit menu item that calls do_quit().
-
- Nov 02, 2005
-
-
Tor Lillqvist authored
2005-11-02 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkcolor-win32.c * gdk/win32/gdkscreen-win32.c * gdk/win32/gdkwindow-win32.c: Whitespace consistency fixes. Remove superfluous test for GdkWindow* parameters being non-NULL. Testing GDK_IS_WINDOW() is enough. As there is only one GdkScreen and one GdkDisplay in the Win32 backend, use those variables instead of the getter functions. For GdkDisplay* and GdkScreen* parameters, check that they are equal to the corresponding singleton variables instead of the more general GDK_IS_DISPLAY() or GDK_IS_SCREEN().
-
Matthias Clasen authored
2005-11-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtktextview.c: Remove some g_return_if_fail() from static functions, replace some others by g_assert(). * gtk/gtktextview.c (selection_motion_event_handler) (gtk_text_view_start_selection_drag): Keep track of the original selection boundaries during a drag selection, in order to correctly decide when to extend or shrink the selection. (#320167, reported by Arvind S N, patch by Paolo Borelli)
-
Matthias Clasen authored
2005-11-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtktextbtree.c (_gtk_text_line_char_to_byte_offsets): * gtk/gtktextiter.c (gtk_text_iter_backward_chars): Replace manual offset calculations by g_utf8_offset_to_pointer(). (#320360, Paolo Borelli)
-
- Nov 01, 2005
-
-
Tim Janik authored
Tue Nov 1 16:18:24 2005 Tim Janik <timj@imendio.com> * gtk/gtkrbtree.[hc]: get rid of GAllocator usage, allocate and free nodes via the g_slice_*() API. _gtk_rbtree_new(): fixed wrong node allocation via g_new().
-
Tor Lillqvist authored
2005-11-01 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkprivate-win32.h * gdk/win32/gdkglobals-win32.c * gdk/win32/gdkmain-win32.c (_gdk_windowing_init): Add more pre-interned GdkAtoms and pre-registered clipboard formats. Sort their declarations, definitions and assignments into a more logical and consistent order. * gdk/win32/gdkmain-win32.c (_gdk_win32_cf_to_string): Include the CF_ prefix for the predefined clipboard format names. Put quotes around registered format names to distinguish them. * gdk/win32/gdkproperty-win32.c (gdk_property_change): Return immediately with a warning if the property type is STRING, TEXT, COMPOUND_TEXT or SAVE_TARGETS, as these are X11-specific that we should never pretend to handle on Win32. Handle only UTF8_STRING here, other formats with delayed rendering. Use \uc1 instead of \uc0 when generating Rich Text Format for easier testability on XP, where WordPad misinterprets \uc0 encoded characters. Add more GDK_NOTE debugging output for Clipboard operations. * gdk/win32/gdkselection-win32.c: Debugging printout improvements. (gdk_selection_convert): Don't pretent to handle STRING, just UTF8_STRING. Streamline error handling, don't unnecessarily have a GError which then isn't used for anything anyway if it gets set. (gdk_win32_selection_add_targets): Skip also STRING, TEXT, COMPOUND_TEXT and SAVE_TARGETS in addition to UTF8_STRING.
-
Tor Lillqvist authored
2005-11-01 Tor Lillqvist <tml@novell.com> * config.h.win32.in: Sync with what configure produces.
-
Tor Lillqvist authored
2005-11-01 Tor Lillqvist <tml@novell.com> * configure.in: Don't look for X_PACKAGES unless building for x11. (#313986, John Ehresman)
-
- Oct 28, 2005
-
-
Erdal Ronahi authored
-
Matthias Clasen authored
2005-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Add the popup window to the toplevels window group. (#319912, Christian Persch)
-
Kristian Rietveld authored
2005-10-28 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): fix stupid thinko.
-
Matthias Clasen authored
2005-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdnd.c (gtk_drag_get_cursor): Fix the anchor of the default drag cursors. (#319200, Federico Mena Quintero)
-
Matthias Clasen authored
2005-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_search_key_press_event): Handle Shift-G to go to the previous match, like firefox. (#320061, Christian Neumair)
-
Matthias Clasen authored
2005-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_build_level): Fix a C99ism. (#320000, Kazuki Iwamoto)
-
Matthias Clasen authored
2005-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little stars. (#319985, Bastien Nocera)
-
Matthias Clasen authored
2005-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout): Return FALSE, so we don't flush repeatedly. (#319151, Alexander Larsson)
-
- Oct 27, 2005
-
-
Michael Natterer authored
2005-10-26 Michael Natterer <mitch@imendio.com> Fix bug #319974: * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property): make sure that setting any of pixbuf/stock-id/icon-name resets the others because they are mutually exclusive, and that unsetting any of them only resets the pixbuf and nothing else. Also added some missing g_object_notify(). (gtk_cell_renderer_pixbuf_get_property): simplified calls to g_value_set_object(). (gtk_cell_renderer_pixbuf_create_stock_pixbuf) (gtk_cell_renderer_pixbuf_create_named_icon_pixbuf): added g_object_notify ("pixbuf").
-
Matthias Clasen authored
2005-10-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_button_press): Be more careful about initializing cell_area. (#319382, Tommi Komulainen)
-
Matthias Clasen authored
2005-10-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't eat Ctrl-PageUp/PageDown. (#318670, Christian Neumair)
-
Matthias Clasen authored
2005-10-27 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/clipboard.c (paste_received): Only set the text if it is not NULL. (#319930, Thomas Klausner) * gtk/gtkselection.c (gtk_selection_data_get_pixbuf): Close the loader before trying to get the pixbuf. (#319930, Thomas Klausner)
-
Matthias Clasen authored
2005-10-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilesystem.c (gtk_file_system_module_load): * gtk/gtkthemes.c (gtk_theme_engine_load): * gtk/gtkimmodule.c (gtk_im_module_load): Use G_MODULE_BIND_LAZY when dlopening modules. (#319557, Laszlo Peter)
-
- Oct 26, 2005
-
-
Matthias Clasen authored
* gtk/gtktextbtree.c (gtk_text_btree_resolve_bidi): Only use text segments when determining text direction. (#319065, Tommi Komulainen)
-
Matthias Clasen authored
2005-10-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_destroy): Don't crash on duplicate destroy. (#318953, Gustavo Carneiro)
-
Matthias Clasen authored
-
Matthias Clasen authored
2005-10-26 Matthias Clasen <mclasen@redhat.com> * */Makefile.am: use $(GLIB_MKENUMS) instead of glib-mkenums. (#318582, Damien Carbery)
-
Matthias Clasen authored
2005-10-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Clarify docs. (#317682, Christian - Manny Calavera - Neumair)
-
Matthias Clasen authored
-
Matthias Clasen authored
2005-10-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): Fix some issues with background drawing in RTL. (#318781, Eric Cazeaux)
-
Matthias Clasen authored
-
Matthias Clasen authored
-
- Oct 25, 2005
-
-
Kristian Rietveld authored
2005-10-25 Kristian Rietveld <kris@gtk.org> Fixes #311955, reported by Markku Vire; and a lot more. * gtk/gtktreemodelfilter.c: Made this thing work correctly. Levels can now have invisible nodes cached, functions have been rewritten/refactored to take this into account; also the logic in some functions has been corrected. Each referenced node now references all visible children or a single invisible child, in order to be able to monitor all changes in the child model required for correct operation. When a virtual root is set, all nodes on the virtual root level are referenced. At last, a bunch of random bug fixes and comment updates.
-
Matthias Clasen authored
2005-10-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtktexttagtable.c (gtk_text_tag_table_foreach): Add some more docs. (#319722, Paolo Borelli)
-
Matthias Clasen authored
2005-10-25 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkxftdefaults.c (init_xft_settings): Make the initialization of screen_x11->xft_rgba more explicit. (#319627, Bogdan Nicula)
-
Matthias Clasen authored
2005-10-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Fix whitespace in a blurb. (#319499, Francisco Javier F. Serrador)
-
- Oct 24, 2005
-
-
Matthias Clasen authored
2005-10-24 Matthias Clasen <mclasen@redhat.com> Add settings to hide the input method and Unicode control character submenus in the context menus of GtkEntry and GtkTextView. * gdk/x11/gdkevents-x11.c: Map GTK+ settings to X settings. * gtk/gtksettings.c (gtk_settings_class_init): Declare GTK+ settings here. * gtk/gtktextview.c (popup_targets_received): * gtk/gtkentry.c (popup_targets_received): Use the settings here.
-
Kristian Rietveld authored
2005-10-24 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): emitting row-has-child-toggled when the level is not in the cache does not make sense. (This bug probably crept in during the early stages of GtkTreeModelSort when there wasn't a correct row-has-child-toggled implementation yet), (gtk_tree_model_sort_real_unref_node): only get the child iter when we will actually also use it.
-
- Oct 22, 2005
-
-
Michael Natterer authored
2005-10-22 Michael Natterer <mitch@imendio.com> * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): check for the widget being realized, in addition to being visible, to avoid running into precondition check in gtk_tree_view_get_cell_area(). (approved by Kris).
-
Dom Lachowicz authored
* modules/engines/ms-windows/msw_style.c (setup_msw_rc_style): Experimentally, scrollbar steppers can shrink to 8 pixels on Win32. Reflect that in the theme. * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Experimentally, there is a 1-pixel border between a scrollbar and its child in ScrolledWindows on Win32. Reflect that in the theme.
-