summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Set focus-on-click to FALSE for all buttons. Don't grab focus when aMatthias Clasen2005-11-074-7/+23
| | | | | | | | | 2005-11-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkpathbar.[hc]: Set focus-on-click to FALSE for all buttons. Don't grab focus when a slider button is pressed, instead, use a bit in the pathbar struct to determine whether to scroll up or down. (#314486, Carlos Garnacho)
* Don't popup the completions if the focus has already been moved somewhereMatthias Clasen2005-11-073-0/+11
| | | | | | | | 2005-11-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Don't popup the completions if the focus has already been moved somewhere else. (#319914, Christian Persch)
* Move the raiseMatthias Clasen2005-11-071-2/+2
|
* Raise the drag_window after reconfiguring the toolbar. (#320803, ChristianMatthias Clasen2005-11-073-0/+11
| | | | | | | | 2005-11-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtktoolitem.c (_gtk_tool_item_toolbar_reconfigured): Raise the drag_window after reconfiguring the toolbar. (#320803, Christian Persch)
* Add a focus-on-click property with setter and getter. (#318945, ChristianMatthias Clasen2005-11-076-80/+156
| | | | | | | | | 2005-11-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkfilechooserbutton.h: * gtk/gtkfilechooserbutton.c: Add a focus-on-click property with setter and getter. (#318945, Christian Persch)
* fixed missing $X_CFLAGS setup in case x11.pc is present.Tim Janik2005-11-073-0/+9
| | | | | | Mon Nov 7 16:15:16 2005 Tim Janik <timj@imendio.com> * configure.in: fixed missing $X_CFLAGS setup in case x11.pc is present.
* Adjust to the stock icon changes.Matthias Clasen2005-11-076-9/+35
| | | | | | 2005-11-07 Matthias Clasen <mclasen@redhat.com> * configure.in: Adjust to the stock icon changes.
* Fix also the other place where maskstride was calculated.Tor Lillqvist2005-11-071-5/+1
|
* Correct the calculation of maskstride. (#320152, Peter Zelezny)Tor Lillqvist2005-11-073-5/+11
| | | | | | | 2005-11-07 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkcursor-win32.c (pixbuf_to_hbitmaps_normal): Correct the calculation of maskstride. (#320152, Peter Zelezny)
* fixed rule to actually create the symlinks, erroring out if anything goesMichael Natterer2005-11-063-12/+31
| | | | | | | 2005-11-06 Michael Natterer <mitch@imendio.com> * gtk/Makefile.am (icons): fixed rule to actually create the symlinks, erroring out if anything goes wrong.
* Updated Thai translation.Theppitak Karoonboonyanan2005-11-062-292/+362
| | | | | | 2005-11-06 Theppitak Karoonboonyanan <thep@linux.thai.net> * th.po: Updated Thai translation.
* Can't rename a file if the target exists on Win32. First rename the targetTor Lillqvist2005-11-064-2/+54
| | | | | | | | | | | 2005-11-06 Tor Lillqvist <tml@novell.com> * gtk/updateiconcache.c (build_cache): Can't rename a file if the target exists on Win32. First rename the target temporarily, then if the renaming of the source to target fails, restore the original name for the target. * gtk/Makefile.am: Use EXEEXT in the dependency on gtk-update-icon-cache.
* (pixbuf_to_hbitmaps_alpha_winxp): Use an 1-bit mask bitmap, likeTor Lillqvist2005-11-063-36/+117
| | | | | | | | | | | | | | | | | | | | 2005-11-06 Tor Lillqvist <tml@novell.com> (pixbuf_to_hbitmaps_alpha_winxp): Use an 1-bit mask bitmap, like pixbuf_to_hbitmaps_normal(). (_gdk_win32_pixbuf_to_hicon_supports_alpha): Check G_WIN32_IS_NT_BASED() first, so we can pretend being on Win9x by setting the G_WIN32_PRETEND_WIN9X environment variable. 2005-11-06 Tor Lillqvist <tml@novell.com> Make icon masks work on Win98 (#320152, Peter Zelezny) * gdk/win32/gdkcursor-win32.c (create_color_bitmap): Take also a parameter for the depth of the bitmap, so that this function can be used to create 1-bit bitmaps, too. (pixbuf_to_hbitmaps_normal): Create an 1-bit bitmap for the mask, and initialize it properly.
* Prevent a segfaultMatthias Clasen2005-11-042-0/+9
|
* Broken commitMatthias Clasen2005-11-04190-606/+0
|
* Store builtin stock icons in an icon cache, instead of populating a hashMatthias Clasen2005-11-048-447/+661
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-04 Matthias Clasen <mclasen@redhat.com> Store builtin stock icons in an icon cache, instead of populating a hash table with pixbufs at startup, to save both memory and startup time. * gtk/stock-icons/*: Reorganize the icons in a directory structure suitable for gtk-update-icon-cache, and rename them to match the stock ids. * gtk/gtkiconcache.[hc]: Support non-mmapped icon caches, and add _gtk_icon_cache_has_icon_in_directory(). * gtk/updateiconcache.c: Support a --source <VARIABLE> argument to store the contents of the icon cache in a C header. * gtk/gtkbuiltincache.h: Generated private header which contains the icon cache for the builtin icons. * gtk/gtkicontheme.c: Create a GtkIconCache for the builtin icons, and use that in addition to the hash table whenever builtin icons are searched. * gtk/gtkiconfactory.c: Add GTK_ICON_SOURCE_STATIC_ICON_NAME and use it for static stock ids. (get_default_icons): Don't add the builtin icons to the icon theme, just register the stock ids. (render_fallback_image): Take the fallback image out of the builtin icon cache. * gtk/Makefile.am: Remove stock-icons from SUBDIRS and add the necessary machinery to rebuild gtkbuiltincache.h.
* Restructure stock iconsMatthias Clasen2005-11-04183-0/+0
|
* Try againMatthias Clasen2005-11-042-0/+0
|
* applied patch from maemo-gtk that changes the mtime check for rc filesMichael Natterer2005-11-043-1/+15
| | | | | | | | | 2005-11-04 Michael Natterer <mitch@imendio.com> * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): applied patch from maemo-gtk that changes the mtime check for rc files from '>' to '!=', otherwise theme changes go unnoticed when turning back the clock (Tommi Komulainen).
* Plug memory leak on Win32.Tor Lillqvist2005-11-043-0/+12
| | | | | | | 2005-11-04 Tor Lillqvist <tml@novell.com> * gtk/gtkstatusicon.c (gtk_status_icon_set_tooltip): Plug memory leak on Win32.
* Typo.Tor Lillqvist2005-11-032-8/+8
|
* Formatting fix.Tor Lillqvist2005-11-032-4/+4
|
* As there is only one GdkDisplay in the Win32 backend, check thatTor Lillqvist2005-11-033-25/+35
| | | | | | | | | 2005-11-03 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkcursor-win32.c: As there is only one GdkDisplay in the Win32 backend, check that GdkDisplay* parameters are equal to _gdk_display instead of using the unnecessarily general GDK_IS_DISPLAY().
* Rename the variables for the color bitmap to have "color" in their name,Tor Lillqvist2005-11-033-18/+48
| | | | | | | | | | | | | | | 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.
* Include gtkstatusicon.c on all platforms.Tor Lillqvist2005-11-034-13/+327
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Position the dialog with GTK_WIN_POS_CENTER. (do_quit): New function, hideTor Lillqvist2005-11-033-0/+34
| | | | | | | | | | 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().
* Updated Czech translation.Miloslav Trmac2005-11-022-550/+620
| | | | | | 2005-11-02 Miloslav Trmac <mitr@volny.cz> * cs.po: Updated Czech translation.
* gdk/win32/gdkcolor-win32.c gdk/win32/gdkscreen-win32.c WhitespaceTor Lillqvist2005-11-025-95/+105
| | | | | | | | | | | | | | | 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().
* Remove some g_return_if_fail() from static functions, replace some othersMatthias Clasen2005-11-023-77/+88
| | | | | | | | | | | | | 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)
* Replace manual offset calculations by g_utf8_offset_to_pointer().Matthias Clasen2005-11-024-18/+22
| | | | | | | | | 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)
* Translation updated by Tino Meinen.Vincent van Adrighem2005-11-014-480/+670
| | | | | | 2005-11-01 Vincent van Adrighem <adrighem@gnome.org> * nl.po: Translation updated by Tino Meinen.
* Add a TODO - FedericoFederico Mena Quintero2005-11-011-0/+13
|
* get rid of GAllocator usage, allocate and free nodes via the g_slice_*()Tim Janik2005-11-014-104/+16
| | | | | | | | 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().
* gdk/win32/gdkprivate-win32.h gdk/win32/gdkglobals-win32.c Add moreTor Lillqvist2005-11-017-129/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Sync with what configure produces.Tor Lillqvist2005-11-013-107/+90
| | | | | | 2005-11-01 Tor Lillqvist <tml@novell.com> * config.h.win32.in: Sync with what configure produces.
* Don't look for X_PACKAGES unless building for x11. (#313986, JohnTor Lillqvist2005-11-013-2/+15
| | | | | | | 2005-11-01 Tor Lillqvist <tml@novell.com> * configure.in: Don't look for X_PACKAGES unless building for x11. (#313986, John Ehresman)
* *** empty log message ***Ignacio Casal Quinteiro2005-10-312-164/+132
|
* Updated Canadian English translation.Adam Weinberger2005-10-312-45/+73
| | | | | | 2005-10-31 Adam Weinberger <adamw@gnome.org> * en_CA.po: Updated Canadian English translation.
* Updated Kurdish translationErdal Ronahi2005-10-292-1219/+1385
|
* Updated Spanish translation.Francisco Javier F. Serrador2005-10-292-206/+71
| | | | | | 2005-10-29 Francisco Javier F. Serrador <serrador@cvs.gnome.org> * es.po: Updated Spanish translation.
* Added Kurdish translation to po-propertiesErdal Ronahi2005-10-284-1/+15
|
* Add the popup window to the toplevels window group. (#319912, ChristianMatthias Clasen2005-10-283-0/+16
| | | | | | | 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)
* fix stupid thinko.Kristian Rietveld2005-10-283-1/+11
| | | | | | | 2005-10-28 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): fix stupid thinko.
* Fix the anchor of the default drag cursors. (#319200, Federico MenaMatthias Clasen2005-10-283-1/+7
| | | | | | | 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)
* Handle Shift-G to go to the previous match, like firefox. (#320061,Matthias Clasen2005-10-283-1/+16
| | | | | | | | 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)
* Fix the buildMatthias Clasen2005-10-281-1/+1
|
* Fix a C99ism. (#320000, Kazuki Iwamoto)Matthias Clasen2005-10-283-2/+7
| | | | | | | 2005-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_build_level): Fix a C99ism. (#320000, Kazuki Iwamoto)
* Add the little stars. (#319985, Bastien Nocera)Matthias Clasen2005-10-283-2/+10
| | | | | | | 2005-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little stars. (#319985, Bastien Nocera)
* Return FALSE, so we don't flush repeatedly. (#319151, Alexander Larsson)Matthias Clasen2005-10-283-1/+11
| | | | | | | 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)
* Updated Romanian translation by Misu Moldovan.Dan Damian2005-10-272-548/+567
|