summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* Use C_() instead of Q_(). String change!Matthias Clasen2008-10-277-60/+35
| | | | | | | | | | | | | | | | 2008-10-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaccellabel.c: * gtk/gtkcalendar.c: * gtk/gtkcellrendereraccel.c: * gtk/gtkcellrendererprogress.c: * gtk/gtkimmulticontext.c: * gtk/gtkrecentchoosermenu.c: * gtk/gtkvolumebutton.c: Use C_() instead of Q_(). String change! svn path=/trunk/; revision=21716
* Bug 557065 – gtkcellrendererpixbuf spams console over and over withChristian Persch2008-10-261-15/+3
| | | | | | | | | | 'could not load image' warnings * gtk/gtkcellrendererpixbuf.c: (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Remove noisy g_warning. svn path=/trunk/; revision=21715
* Bug 530454 – Clarify page_nr when printingPhilip Withnall2008-10-261-2/+2
| | | | | | | | | | | | | 2008-10-26 Philip Withnall <philip@tecnocode.co.uk> Bug 530454 – Clarify page_nr when printing * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Point out that page_nr is 0-based in the documentation. svn path=/trunk/; revision=21714
* Bug 557315 – stale clipboard target cacheMatthias Clasen2008-10-251-1/+10
| | | | | | | | | | | | 2008-10-25 Matthias Clasen <mclasen@redhat.com> Bug 557315 – stale clipboard target cache * gtk/gtkclipboard.c (gtk_clipboard_set_contents): Remove cached targets. Pointed out by Evan Stade svn path=/trunk/; revision=21713
* Added a note about GtkWidget:has-tooltip in the docs forTristan Van Berkom2008-10-241-2/+2
| | | | | | | | * gtk/gtkwidget.c: Added a note about GtkWidget:has-tooltip in the docs for GtkWidget::query-tooltip. svn path=/trunk/; revision=21712
* Fix a property definitionMatthias Clasen2008-10-241-1/+1
| | | | svn path=/trunk/; revision=21709
* Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching allocationMatthias Clasen2008-10-241-1/+1
| | | | | | | | | | | | 2008-10-24 Matthias Clasen <mclasen@redhat.com> Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching allocation and deallocation * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki svn path=/trunk/; revision=21708
* Bug 556835 – gtkentry.c: variable is declared at middle of blockMatthias Clasen2008-10-241-1/+2
| | | | | | | | | | | | 2008-10-24 Matthias Clasen <mclasen@redhat.com> Bug 556835 – gtkentry.c: variable is declared at middle of block * gtk/gtkentry.c (gtk_entry_copy_clipboard): Fix a C99ism pointed out by Kazuki Iwamoto svn path=/trunk/; revision=21707
* Bug 557524 – "va_end(args);" should be added intoMatthias Clasen2008-10-241-0/+1
| | | | | | | | | | | | | 2008-10-24 Matthias Clasen <mclasen@redhat.com> Bug 557524 – "va_end(args);" should be added into gtk_text_buffer_insert_with_tags_by_name( ) * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name): Don't forget to call va_end. Pointed out by Boram Park svn path=/trunk/; revision=21706
* Bug 528320 - Incorrect icons displayed for files with custom mimetypeAlexander Larsson2008-10-231-0/+8
| | | | | | | | | | | | | | | | | 2008-10-23 Alexander Larsson <alexl@redhat.com> Bug 528320 - Incorrect icons displayed for files with custom mimetype icons * gtk/gtkfilesystem.c: (_gtk_file_info_render_icon): Fall back on default file icon if there was no icon or it was not found in the theme. This goes with the corresponding change in glib to not add the fallback icon, but is useful in other cases too. svn path=/trunk/; revision=21702
* Bug 555920 – gtkentry.c passes wrong enum toBehdad Esfahbod2008-10-221-2/+0
| | | | | | | | | | | | | 2008-10-22 Behdad Esfahbod <behdad@gnome.org> Bug 555920 – gtkentry.c passes wrong enum to pango_layout_set_alignment() * gtk/gtkentry.c (gtk_entry_create_layout): Don't set layout adjustment. svn path=/trunk/; revision=21700
* Bug 557059 – crash when compositing emblems with iconChristian Persch2008-10-201-4/+19
| | | | | | | | | | | | 2008-10-20 Christian Persch <chpe@gnome.org> Bug 557059 – crash when compositing emblems with icon * gtk/gtkicontheme.c: (apply_emblems): Copy the pixbuf before using it with gtk_pixbuf_composite, in case its pixdata is read-only (mmaped from icon cache or builtins). svn path=/trunk/; revision=21690
* gtk_icon_view_set_tooltip_row(), gtk_icon_view_set_tooltip_item():Murray Cumming2008-10-202-0/+6
| | | | | | | | | | | | | 2008-10-20 Murray Cumming <murrayc@murrayc.com> * gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(), gtk_icon_view_set_tooltip_item(): * gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(), gtk_icon_view_set_tooltip_cell(): Documentation: Mention the simple set_tooltip_column() alternative. svn path=/trunk/; revision=21689
* Bug 556527 - The current page property is not passed to GtkPrintUnixDialogMarek Kasik2008-10-161-0/+3
| | | | | | | | | | | | 2008-10-16 Marek Kasik <mkasik@redhat.com> Bug 556527 - The current page property is not passed to GtkPrintUnixDialog * gtk/gtkprintoperation-unix.c: pass current-page property to GtkPrintUnixDialog svn path=/trunk/; revision=21660
* 556150 – gtk 'object' property test fixingChristian Dywan2008-10-141-14/+0
| | | | | | | * gtk/tests/object.c (list_ignore_properties): Remove some recently fixed properties from the exception list svn path=/trunk/; revision=21653
* Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookupMatthias Clasen2008-10-141-2/+10
| | | | | | | | | | | | | | 2008-10-13 Matthias Clasen <mclasen@redhat.com> Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup * gtk/gtkcellrendererpixbuf (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash if a GIcon is not present in the current theme. Patch by Alex Larsson. svn path=/trunk/; revision=21650
* Bug 552318 – menubar mnemonics consumed even whenMatthias Clasen2008-10-141-16/+22
| | | | | | | | | | | | | | 2008-10-13 Matthias Clasen <mclasen@redhat.com> Bug 552318 – menubar mnemonics consumed even when gtk-enable-mnemonics=false * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic entries block accelerator activation when gtk-enable-mnemonics is FALSE. Problem reported by Andreas Moog. svn path=/trunk/; revision=21648
* Bug 555386 – format not a string literal and no format argumentsChristian Persch2008-10-135-10/+10
| | | | svn path=/trunk/; revision=21642
* Bug 555724 – gtkcellrendereraccel not initialised correctlyChristian Persch2008-10-131-0/+9
| | | | svn path=/trunk/; revision=21641
* Closed #555625 – Updated gtk_compose_seqs_compact table ↵Simos Xenitellis2008-10-122-285/+22
| | | | | | (gtkimcontextsimpleseqs.h) svn path=/trunk/; revision=21634
* Revert the GtkSettings::gtk-toolbar-icon-size part of the previous change,Matthias Clasen2008-10-121-6/+6
| | | | | | | | | | | | 2008-10-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size part of the previous change, since it doesn't work correctly without extra complication, and using custom icon sizes doesn't make too much sense in a desktop-wide setting. svn path=/trunk/; revision=21633
* Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_sizeMatthias Clasen2008-10-121-14/+14
| | | | | | | | | | | | | 2008-10-11 Matthias Clasen <mclasen@redhat.com> Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and GtkSettings::gtk-toolbar-icon-size into int properties, to allow the use of app-registered icon sizes. svn path=/trunk/; revision=21632
* Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == windowChristian Dywan2008-10-111-1/+1
| | | | | | | * gtk/gtkwidget.c (gtk_widget_real_grab_focus): Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL svn path=/trunk/; revision=21631
* Fixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.Simos Xenitellis2008-10-101-8/+4
| | | | svn path=/trunk/; revision=21623
* Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == windowChristian Dywan2008-10-091-1/+1
| | | | | | | * gtk/gtkwidget.c (gtk_widget_real_grab_focus): Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL svn path=/trunk/; revision=21622
* Bug 555573 – gtk_font_selection_set_font_nameChristian Dywan2008-10-091-2/+4
| | | | | | | | | shouldn't require a screen * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Don't warn if there is no screen, just return FALSE svn path=/trunk/; revision=21621
* Bug 555523 – gtk_scale_button_set_adjustment should accept NULLChristian Dywan2008-10-091-7/+13
| | | | | | | * gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment): Create a new adjustment if NULL is passed, like other widgets svn path=/trunk/; revision=21620
* Bug 555578 – GtkTable propertiy maxima are wrongChristian Dywan2008-10-091-6/+6
| | | | | | | | * gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize): Always use 65535 instead of G_MAXUINT since that is the actually supported maximum number of columns and rows svn path=/trunk/; revision=21619
* Bug 516425 – Optionally display accelerators in popupsMichael Natterer2008-10-092-16/+35
| | | | | | | | | | | | | | | | | 2008-10-09 Michael Natterer <mitch@imendio.com> Bug 516425 – Optionally display accelerators in popups * gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but shows the actions' accelerators. * gtk/gtkuimanager.c: honor the new enum value for programmatically created UIs, and support <popup accelerators="true"> in the XML for the same purpose. svn path=/trunk/; revision=21615
* Fixed Bug 554192 – deadkey-only compose sequences now workingSimos Xenitellis2008-10-081-3/+3
| | | | svn path=/trunk/; revision=21613
* Bug 554702 – gtkfilesystem leaks GErrorChristian Persch2008-10-081-3/+9
| | | | | | | Also fixes some "format not a string literal and no format arguments" warnings. svn path=/trunk/; revision=21611
* Don't forget to reset reload_state when current_folder is already correct.Matthias Clasen2008-10-081-2/+2
| | | | | | | | | | | 2008-10-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb): Don't forget to reset reload_state when current_folder is already correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992 svn path=/trunk/; revision=21608
* Bug 555270 – Allow unsetting a MessageDialog's imageChristian Dywan2008-10-081-1/+8
| | | | | | | | | | | | | 2008-10-08 Christian Dywan <christian@imendio.com> Bug 555270 – Allow unsetting a MessageDialog's image * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property), Remove a superfluous cast to GtkWidget* (gtk_message_dialog_set_image): Accept NULL for the image and unset the image in that case. svn path=/trunk/; revision=21607
* Bug 436533 – Allow more space efficient scroll arrows placementChristian Dywan2008-10-082-24/+144
| | | | | | | | | | | * gtk/gtkenums.h: Add GtkArrowPlacement * gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border), (get_arrows_visible_area), (get_double_arrows), (get_arrows_sensitive_area): Implement GtkMenu::arrow-placement to allow scrolling arrows to be placed at the start, end or both Patch by Tommi Komulainen and myself svn path=/trunk/; revision=21606
* Bug 555387 – Changing the sensitivity of a statusbarChristian Dywan2008-10-081-1/+1
| | | | | | | | | mistakenly requires a display * gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor of the resize grip if there is a grip window. svn path=/trunk/; revision=21605
* Avoid uninitialized memory warningsMatthias Clasen2008-10-071-0/+1
| | | | svn path=/trunk/; revision=21603
* gtk/gtkbox.c: fixed type declaration.Tim Janik2008-10-071-7/+3
| | | | svn path=/trunk/; revision=21600
* keep GtkBox as an abstract type and keep _gtk_box_new() as private11:03:30 Tim Janik2008-10-075-12/+14
| | | | | | | | | | | 2008-10-07 11:03:30 Tim Janik <timj@imendio.com> * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new() as private function until we settle on the exact semantics. renamed _gtk_box_set_old_defaults() as suggested by Mitch. svn path=/trunk/; revision=21599
* reindent static prototypes.Michael Natterer2008-10-071-38/+38
| | | | | | | | | 2008-10-07 Michael Natterer <mitch@imendio.com> * gtk/gtkbox.c: reindent static prototypes. svn path=/trunk/; revision=21598
* Bug 553573 – Add orientation API to GtkBoxMichael Natterer2008-10-077-597/+558
| | | | | | | | | | | | | | | | | | | | | 2008-10-07 Michael Natterer <mitch@imendio.com> Bug 553573 – Add orientation API to GtkBox * gtk/gtkbox.[hh]: implement the GtkOrientable interface and swallow all code from GtkHBox and GtkVBox. Add gtk_box_new() which takes a GtkOrientation argument. Also move the newly added "spacing_set" boolean from struct GtkBox to the new private struct. * gtk/gtkhbox.[ch] * gtk/gtkvbox.[ch]: remove all code except the constructor and call gtk_orientable_set_orientation() in init(). * gtk/gtk.symbols: add gtk_box_new(). svn path=/trunk/; revision=21596
* Bug 539464 – gtk_cell_view_get_model is missing in GtkCellViewBjörn Lindqvist2008-10-063-0/+21
| | | | | | | | | | | 2008-10-06 Björn Lindqvist <bjourne@gmail.com> Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView * gtk/gtkcellview.c (gtk_cell_view_get_model): Add gtk_cell_view_get_model. svn path=/trunk/; revision=21593
* Show the tooltip on the range entry itself, too.Matthias Clasen2008-10-061-1/+4
| | | | | | | | | | 2008-10-06 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip on the range entry itself, too. svn path=/trunk/; revision=21591
* Add some debug output.Matthias Clasen2008-10-041-0/+2
| | | | | | | | | | | 2008-10-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some debug output. svn path=/trunk/; revision=21583
* Bug 96431 – Can't cut and paste / DND within invisible entryMatthias Clasen2008-10-031-8/+18
| | | | | | | | | | | | 2008-10-02 Matthias Clasen <mclasen@redhat.com> Bug 96431 – Can't cut and paste / DND within invisible entry * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible entry. Proposed by Owen Taylor svn path=/trunk/; revision=21582
* Bug 530575 – GtkEntry with invisible chars has a confused cursor inMatthias Clasen2008-10-032-4/+7
| | | | | | | | | | | | | | | | | | 2008-10-02 Matthias Clasen <mclasen@redhat.com> Bug 530575 – GtkEntry with invisible chars has a confused cursor in overwrite mode * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text in the layout when positioning the cursor, not the actual text content of the entry. This makes a different when using overwrite mode in an invisible entry. Problem noticed by Jonathan Blandford * gtk/gtktextutil.c: Fix a typo in a comment svn path=/trunk/; revision=21580
* Bug 554704 – gtkfilesystemmodel does too much workChristian Persch2008-10-021-4/+4
| | | | svn path=/trunk/; revision=21572
* Bug 554701 – filechooser spams console with useless warningsChristian Persch2008-10-021-1/+3
| | | | svn path=/trunk/; revision=21571
* Bug 554698 – mem leak in filechooserChristian Persch2008-10-021-0/+1
| | | | svn path=/trunk/; revision=21570
* Bug 554696 – invalid free function usedChristian Persch2008-10-021-2/+3
| | | | svn path=/trunk/; revision=21569
* Bug 554691 – mem leak in filechooserChristian Persch2008-10-021-0/+1
| | | | svn path=/trunk/; revision=21568