summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* return gboolean instead of gint. Reindent static prototypes.Michael Natterer2008-09-021-41/+42
| | | | | | | | | | 2008-09-02 Michael Natterer <mitch@imendio.com> * gtk/gtkdialog.c (gtk_dialog_delete_event_handler): return gboolean instead of gint. Reindent static prototypes. svn path=/trunk/; revision=21260
* removed this function because there is massive disagreement about how toMichael Natterer2008-09-023-21/+0
| | | | | | | | | | | | | | 2008-09-02 Michael Natterer <mitch@imendio.com> * gtk/gtkwidget.c (gtk_widget_get_allocation): removed this function because there is massive disagreement about how to implement it. Needs some general discussion in the next development cycle about how our C api should evolve. * gtk/gtk.symbols: changed accordingly. svn path=/trunk/; revision=21259
* Update documentation for gtk_selection_data_get_data to match the changesWouter Bolsterlee2008-09-011-2/+0
| | | | | | | | | | | | 2008-09-01 Wouter Bolsterlee <wbolster@svn.gnome.org> * gtk/gtkselection.c: Update documentation for gtk_selection_data_get_data to match the changes introduced in -r21232 (the length parameter was removed). svn path=/trunk/; revision=21256
* Bug 549943 – gtk_tool_shell_get_relief_style() always returnsMatthew Barnes2008-08-301-1/+1
| | | | | | | | | | | | | 2008-08-30 Matthew Barnes <mbarnes@redhat.com> Bug 549943 – gtk_tool_shell_get_relief_style() always returns GTK_RELIEF_NONE * gtk/gtktoolshell.c (gtk_tool_shell_get_relief_style): Return the correct relief style. svn path=/trunk/; revision=21252
* Bug 549810 – Memory leaks in printing codeChristian Dywan2008-08-291-0/+1
| | | | svn path=/trunk/; revision=21241
* move the gtk_widget_get_parent() and gtk_widget_get_parent_window()Michael Natterer2008-08-292-23/+22
| | | | | | | | | | | | | | 2008-08-29 Michael Natterer <mitch@imendio.com> * gtk/gtkwidget.h: move the gtk_widget_get_parent() and gtk_widget_get_parent_window() prototypes together with their respective setters. * gtk/gtkwidget.c: move gtk_widget_get_parent_window() together with its setter. svn path=/trunk/; revision=21240
* events return gboolean not gint, reindent prototypes.Michael Natterer2008-08-291-48/+48
| | | | | | | | | | 2008-08-29 Michael Natterer <mitch@imendio.com> * gtk/gtkscrolledwindow.c: events return gboolean not gint, reindent prototypes. svn path=/trunk/; revision=21239
* minor indentation / coding style fixes.Michael Natterer2008-08-291-28/+28
| | | | | | | | | 2008-08-29 Michael Natterer <mitch@imendio.com> * gtk/gtkpaned.c: minor indentation / coding style fixes. svn path=/trunk/; revision=21236
* Bug 549262 – GtkScrolledWindow should not accept focus unlessMatthias Clasen2008-08-291-1/+1
| | | | | | | | | | | | | | 2008-08-29 Matthias Clasen <mclasen@redhat.com> Bug 549262 – GtkScrolledWindow should not accept focus unless GTK_CAN_FOCUS is set * gtk/gtkscrolledwindow.c (gtk_scrolled_window_focus): only grab the focus, if GTK_WIDGET_CAN_FOCUS() returns TRUE. Patch by Sven Herzberg svn path=/trunk/; revision=21233
* Split gtk_selection_data_get_data into gtk_selection_data_get_data andMatthias Clasen2008-08-294-10/+25
| | | | | | | | | | | | 2008-08-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkselection.[hc]: Split gtk_selection_data_get_data into gtk_selection_data_get_data and gtk_selection_data_get_length. Proposed by Owen Taylor. svn path=/trunk/; revision=21232
* Bug 549734 – gtk_selection_data_get_data prototype is wrongChristian Dywan2008-08-282-2/+2
| | | | | | | | | | | | | 2008-08-28 Christian Dywan <christian@imendio.com> Bug 549734 – gtk_selection_data_get_data prototype is wrong * gtk/gtkselection.[ch] (gtk_selection_data_get_data): make the 'length' argument of gtk_selection_data_get_data a 'gint', that's what it should be. svn path=/trunk/; revision=21229
* Documentation fixesMatthias Clasen2008-08-281-25/+27
| | | | svn path=/trunk/; revision=21217
* Bug 549354 – Crash trying to open a file on a remote folderMatthias Clasen2008-08-271-1/+1
| | | | | | | | | | | | 2008-08-26 Matthias Clasen <mclasen@redhat.com> Bug 549354 – Crash trying to open a file on a remote folder * gtk/gtkfilechooserdefault.c (error_message_with_parent): Handle the fact that parent may be NULL without crashing. svn path=/trunk/; revision=21206
* Add translator hints here tooMatthias Clasen2008-08-251-0/+22
| | | | svn path=/trunk/; revision=21201
* missing Since 2.14, fixes #549236Gian Mario Tagliaretti2008-08-253-0/+6
| | | | svn path=/trunk/; revision=21194
* When reconstructing the color hash, try harder to avoid unnecessaryMatthias Clasen2008-08-221-5/+32
| | | | | | | | | * gtk/gtksettings.c: When reconstructing the color hash, try harder to avoid unnecessary notification, since this can lead to infinite reloading of rc files in some situations. svn path=/trunk/; revision=21182
* small formatting fix.Michael Natterer2008-08-211-14/+14
| | | | | | | | | 2008-08-21 Michael Natterer <mitch@imendio.com> * gtk/gtktreeview.c (gtk_tree_view_realize): small formatting fix. svn path=/trunk/; revision=21178
* Bug 545875 – evo crashed when trying to print pages 6-7 of a 1 pageMarek Kasik2008-08-211-0/+42
| | | | | | | | | | | | 2008-08-21 Marek Kasik <mkasik@redhat.com> Bug 545875 – evo crashed when trying to print pages 6-7 of a 1 page email * gtk/gtkprintoperation.c: Clamp page ranges to correct ranges svn path=/trunk/; revision=21177
* Bug 535158 – can't rearrange the order of multi pages per sideMarek Kasik2008-08-216-131/+546
| | | | | | | | | | | | | | | | | 2008-08-21 Marek Kasik <mkasik@redhat.com> Bug 535158 – can't rearrange the order of multi pages per side * gtk/gtkprinter.c * gtk/gtkprinter.h * gtk/gtkprintunixdialog.c * gtk/gtkprintsettings.c * gtk/gtkprintsettings.h * gtk/gtkenums.h * modules/printbackends/cups/gtkprintbackendcups.c: Allow user to specify layout of pages per sheet in number-up mode svn path=/trunk/; revision=21175
* (gtk_color_selection_dialog_get_color_selection): Use the correct macro to testTorsten Schönfeld2008-08-201-4/+4
| | | | | | the validity of the passed-in dialog. svn path=/trunk/; revision=21171
* Allow changing page with arrows even on non-focusable notebook. (#528091)Milan Crha2008-08-201-8/+1
| | | | | | | | | | 2008-08-05 Milan Crha <mcrha@redhat.com> * gtk/gtknotebook.c: (gtk_notebook_do_arrow): Allow changing page with arrows even on non-focusable notebook. (#528091) svn path=/trunk/; revision=21170
* [PATCH 7/7] bgo543308 - Remove the default_width/height stuff, since we are ↵Federico Mena Quintero2008-08-202-15/+0
| | | | | | | | not using it anymore Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=21168
* [PATCH 6/7] bgo543308 - Only compute a font-based size if we are in expanded ↵Federico Mena Quintero2008-08-201-11/+23
| | | | | | | | mode or one of the OPEN modes Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=21167
* [PATCH 5/7] bgo543308 - Unconditionally compute a size based on font sizeFederico Mena Quintero2008-08-201-19/+12
| | | | | | Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=21166
* [PATCH 4/7] bgo543308 - Emit default-size-changed when the file chooser is ↵Federico Mena Quintero2008-08-201-0/+2
| | | | | | | | mapped Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=21165
* [PATCH 3/7] bgo543308 - Factor out the code to emit default-size-changed.Federico Mena Quintero2008-08-201-6/+15
| | | | | | | | | | Only emit default-size-changed if the file chooser widget is mapped. It only makes sense to do this once we know our final configuration, which is actually when we are mapped. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=21164
* [PATCH 2/7] bgo543308 - Remove obsolete sizing code in GtkFileChooserDialogFederico Mena Quintero2008-08-201-51/+0
| | | | | | Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=21163
* [PATCH 1/7] bgo543308 - Let the file chooser widget be in charge of its ↵Federico Mena Quintero2008-08-201-1/+0
| | | | | | | | default size; don't force it from the dialog Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=21162
* Bug 548354 – Remove repeated code in gtk_cell_view_size_allocateBjörn Lindqvist2008-08-191-19/+2
| | | | | | | | | | | | 2008-08-19 Björn Lindqvist <bjourne@gmail.com> Bug 548354 – Remove repeated code in gtk_cell_view_size_allocate * gtk/gtkcellview.c (gtk_cell_view_size_allocate): Remove some code duplication, no need for separate loops for GTK_PACK_START and GTK_PACK_END. svn path=/trunk/; revision=21158
* Remove the requres-version tag as wellJohan Dahlin2008-08-191-1/+1
| | | | | | | | | | 2008-08-19 Johan Dahlin <johan@gnome.org> * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove the requres-version tag as well svn path=/trunk/; revision=21157
* Bug 541600 – GtkCalendar segfault for certain values of detail-with-charsMathias Hasselmann2008-08-181-1/+1
| | | | | | | | | | * gtk/gtkcalendar.c (gtk_calendar_class_init()): Limit the "year" property to G_MAXINT >> 9, instead of G_MAXINT >> 8: year_to_days() multiplies the year property with 365 and returns the result as glong. Therefore ceil(log(365, 2)) = 9 bits must be available, not just 8 bits. svn path=/trunk/; revision=21150
* Bug 541315 – Segfault when selecting a GtkMenuItem with submenu and noBjörn Lindqvist2008-08-181-1/+1
| | | | | | | | | | | | 2008-08-18 Björn Lindqvist <bjourne@gmail.com> Bug 541315 – Segfault when selecting a GtkMenuItem with submenu and no parent * gtk/gtkmenuitem.c (gtk_menu_item_real_popup_submenu): Ensure that the menu item has a parent before popping it up. svn path=/trunk/; revision=21149
* Bug 548196 – gtk-builder-convert doesn't properly convert GtkTextViewJohan Dahlin2008-08-181-0/+1
| | | | | | | | | | | 2008-08-18 Johan Dahlin <johan@gnome.org> Bug 548196 – gtk-builder-convert doesn't properly convert GtkTextView * gtk/gtk-builder-convert: Rename the text property to buffer. svn path=/trunk/; revision=21147
* Use g_quark_from_static_string where possibleMatthias Clasen2008-08-181-1/+1
| | | | svn path=/trunk/; revision=21146
* Add another missing symbol.Richard Hult2008-08-151-0/+17
| | | | | | | | | 2008-08-15 Richard Hult <richard@imendio.com> * gtk/gtkclipboard-quartz.c (gtk_clipboard_wait_is_uris_available): Add another missing symbol. svn path=/trunk/; revision=21135
* Bug 547680 – fontconfig monitoring can crash appsBehdad Esfahbod2008-08-151-4/+5
| | | | | | | | | | | | 2008-08-15 Behdad Esfahbod <behdad@gnome.org> Bug 547680 – fontconfig monitoring can crash apps * gtk/gtksettings.c (settings_update_fontconfig): Clear pango cache before recreating fontconfig config. svn path=/trunk/; revision=21134
* Bug 547944 – Self-reference in gtk_page_setup_load_file's docsClaudio Saavedra2008-08-151-1/+1
| | | | | | | | | | | | 2008-08-15 Claudio Saavedra <csaavedra@igalia.com> Bug 547944 – Self-reference in gtk_page_setup_load_file's docs * gtk/gtkpagesetup.c: Fix the reference in gtk_page_setup_load_file() documentation. svn path=/trunk/; revision=21130
* Add missing Since tagsChristian Dywan2008-08-151-0/+32
| | | | svn path=/trunk/; revision=21128
* Improve documentation of "gtk-button-images" settingChristian Dywan2008-08-151-5/+5
| | | | svn path=/trunk/; revision=21123
* Don't add pointless gettersMatthias Clasen2008-08-143-42/+0
| | | | svn path=/trunk/; revision=21114
* get rid of the deprecated aliases NONE and BOOL.Michael Natterer2008-08-138-34/+27
| | | | | | | | | | | | | | | | | | 2008-08-13 Michael Natterer <mitch@imendio.com> * gtk/gtkmarshalers.list: get rid of the deprecated aliases NONE and BOOL. * gtk/gtkdialog.c * gtk/gtkentrycompletion.c * gtk/gtkmenuitem.c * gtk/gtkoldeditable.c * gtk/gtkrange.c * gtk/gtktreeview.c * gtk/gtkwidget.c: changed accordingly. svn path=/trunk/; revision=21111
* cast the return value of g_dgettext() to fix warning about discardedMichael Natterer2008-08-131-1/+1
| | | | | | | | | | 2008-08-13 Michael Natterer <mitch@imendio.com> * gtk/gtkstock.c (gtk_stock_lookup): cast the return value of g_dgettext() to fix warning about discarded qualifier. svn path=/trunk/; revision=21106
* use canonical signal name.Paolo Borelli2008-08-121-3/+5
| | | | | | | | | | 2008-08-12 Paolo Borelli <pborelli@katamail.com> * gtk/gtkclipboard.c (gtk_clipboard_store): use canonical signal name. svn path=/trunk/; revision=21104
* Bug 526234 - make shift+ctrl+del delete till the end of linePaolo Borelli2008-08-121-15/+46
| | | | | | | | | | | | 2008-08-12 Paolo Borelli <pborelli@katamail.com> Bug 526234 - make shift+ctrl+del delete till the end of line * gtk/gtktextview.c: add shift+ctrl+del and shift+ctrl+backspace keyboard shortcuts to delete to the end/start of the current line. svn path=/trunk/; revision=21103
* bail out if there is no label to set the color on.Michael Natterer2008-08-121-0/+3
| | | | | | | | | | | | | 2008-08-12 Michael Natterer <mitch@imendio.com> * gtk/gtklinkbutton.c (set_link_color): bail out if there is no label to set the color on. (gtk_link_button_add): call set_link_color() so the label gets the right color no matter how the link button is created. svn path=/trunk/; revision=21100
* remove unused variable and fix formatting of some function headers.Michael Natterer2008-08-121-7/+12
| | | | | | | | | | 2008-08-12 Michael Natterer <mitch@imendio.com> * gtk/gtkassistant.c: remove unused variable and fix formatting of some function headers. svn path=/trunk/; revision=21099
* define -DGDK_PIXBUF_DISABLE_DEPRECATED in the global CFLAGS.Michael Natterer2008-08-123-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-12 Michael Natterer <mitch@imendio.com> * configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the global CFLAGS. * gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h visible for GDK_PIXBUF_COMPILATION. * contrib/gdk-pixbuf-xlib/Makefile.am * demos/Makefile.am * demos/gtk-demo/Makefile.am * gdk-pixbuf/pixops/Makefile.am * gdk/Makefile.am * gdk/x11/Makefile.am * gtk/Makefile.am * gtk/tests/Makefile.am * gtk/theme-bits/Makefile.am * modules/engines/ms-windows/Makefile.am * modules/engines/pixbuf/Makefile.am * modules/input/Makefile.am * perf/Makefile.am * tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here. svn path=/trunk/; revision=21096
* use g_return_val_if_fail() now that the function has a return value.Michael Natterer2008-08-121-3/+3
| | | | | | | | | | 2008-08-12 Michael Natterer <mitch@imendio.com> * gtk/gtkstatusicon.c (gtk_status_icon_get_gicon): use g_return_val_if_fail() now that the function has a return value. svn path=/trunk/; revision=21095
* gtk/gtkaccellabel.c gtk/gtkaction.c gtk/gtkclist.c gtk/gtkcolorbutton.cSven Neumann2008-08-1230-211/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-12 Sven Neumann <sven@gimp.org> * gtk/gtkaccellabel.c * gtk/gtkaction.c * gtk/gtkclist.c * gtk/gtkcolorbutton.c * gtk/gtkctree.c * gtk/gtkdialog.c * gtk/gtkdnd-quartz.c * gtk/gtkdnd.c * gtk/gtkentry.c * gtk/gtkfilechooserdefault.c * gtk/gtkfilesel.c * gtk/gtkgamma.c * gtk/gtkiconview.c * gtk/gtkkeyhash.c * gtk/gtklabel.c * gtk/gtkmenu.c * gtk/gtkmenubar.c * gtk/gtkpaned.c * gtk/gtkrecentchooserdialog.c * gtk/gtkrecentchooserutils.c * gtk/gtkselection.c * gtk/gtksizegroup.c * gtk/gtktextbtree.c * gtk/gtktextbuffer.c * gtk/gtktextview.c * gtk/gtktoolbar.c * gtk/gtktreemodel.c * gtk/gtkuimanager.c * gtk/gtkwindow-decorate.c * gtk/gtkwindow.c: use canonical signal names in some more places that I missed earlier. Also changed this in the documentation and comments. svn path=/trunk/; revision=21094
* gtk/gtknotebook.c property nick and blurb should be marked with P_(), notSven Neumann2008-08-122-4/+4
| | | | | | | | | | | 2008-08-12 Sven Neumann <sven@gimp.org> * gtk/gtknotebook.c * gtk/gtkradiotoolbutton.c: property nick and blurb should be marked with P_(), not _(). svn path=/trunk/; revision=21091