summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserdialog.c
Commit message (Collapse)AuthorAgeFilesLines
* file chooser: Stop using gtk_window_get_positionMatthias Clasen2019-03-261-32/+0
| | | | It is going away.
* widget: Don't pass a position to ->size_allocateTimm Bäder2018-11-131-6/+9
| | | | | The values have been 0/0 for a long time now, so just drop the GtkAllocation argument and replace it with width and height.
* widget: Remove clip from size-allocate vfuncBenjamin Otte2018-04-051-6/+3
| | | | As the clip is no longer needed, get rid of it.
* The big versioning cleanupMatthias Clasen2018-02-061-2/+0
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* filechooser: Remove the word stock from the docsMatthias Clasen2017-12-011-5/+5
| | | | | It does not really add anything here, and makes it harder to grep for occurrences of stock ids.
* widget: Add baseline and out_clip parameters to size-allocateTimm Bäder2017-07-191-5/+11
| | | | | | | | | | | Since setting a clip is mandatory for almost all widgets, we can as well change the size-allocate signature to include a out_clip parameter, just like GtkCssGadget did. And since we now always propagate baselines, we might as well pass that one on to size-allocate. This way we can also make sure to transform the clip returned from size-allocate to parent-coordinates, i.e. the same coordinate space priv->allocation is in.
* Fix a few documentation issuesTimm Bäder2017-07-191-1/+1
|
* Remove gtk_widget_show_allTimm Bäder2017-01-201-1/+0
|
* filechooser: Use GtkButton's icon-name propertyTimm Bäder2016-10-311-6/+1
|
* Drop some more codeMatthias Clasen2016-03-261-19/+0
| | | | | This ifdefed out function was only used in the code I just nuked, so it can go as well.
* file chooser: Drop unused codeMatthias Clasen2016-03-261-17/+0
| | | | We've never restored filechooser positions, and we aren't going to.
* file chooser: Also apply the settingsMatthias Clasen2015-12-111-0/+2
| | | | | I forgot that the settings object we're dealing with here is in delay mode, so settings won't apply immediately.
* file chooser: Store size more frequentlyMatthias Clasen2015-12-111-2/+21
| | | | | | | | | | | We were only storing the dialog size on unmap, but resetting to the stored default value more often, e.g. on focus-out. This was causing the dialog to 'jump back' to its remembered size after the user manually resized it, leading to frustration and bug reports. Instead, save the dialog size on every ::size-allocate of the toplevel. To avoid needlessly spamming dconf, only write the new value if it changed.
* GtkFileChooserNative: Fallback and win32 implementationAlexander Larsson2015-11-051-1/+6
| | | | | This is a subclass on GtkNativeDialog that uses GtkFileChooserDialog as a fallback, but also has support for the win32 file chooser dialog.
* Use gtk_widget_set_focus_on_click() instead of deprecated settersFlorian Müllner2015-11-031-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=757269
* Code cleanupMatthias Clasen2015-07-311-2/+1
| | | | | | Use g_slist_free_full more consistently. This commit just converts the obvious cases where g_slist_forall is directly followed by g_slist_free.
* file chooser dialog: Better spacingMatthias Clasen2015-07-231-1/+3
| | | | | | When the dialog is as narrow as possible, we still want some space between the entry and the search button, so use margins around the entry and label instead of box spacing.
* file chooser dialog: Make button not take focusMatthias Clasen2015-07-041-0/+1
| | | | | Things work smoother, keynav-wise, if the search button does not take focus on click.
* file chooser dialog: Make action changes workMatthias Clasen2015-07-041-74/+82
| | | | | We were not listening for action changes to update the save entry.
* file chooser entry: Capture Escape and emit :hide-entryMatthias Clasen2015-07-041-1/+1
| | | | | | | | | | | Make the file chooser entry optionally capture Escape and emit a signal. Make the file chooser widget hide the entry on that signal and go back to the path bar. This gives us a two-level undo: location entry -> path bar -> dialog close. When the location entry is permanently displayed in the header for save mode, we still let the first Escape close the dialog.
* file chooser dialog: Put save entry into headerMatthias Clasen2015-07-041-0/+52
| | | | | When we have a header bar, put a save entry there and make the file chooser use it.
* file chooser dialog: Show a subtitleMatthias Clasen2015-07-041-0/+3
| | | | | Use the new "subtitle" property of the file chooser widget to display a subtitle in the headerbar, if we have one.
* file chooser dialog: Prevent uneven button heightsMatthias Clasen2015-02-261-0/+14
| | | | | | | | The height of the text buttons depends on the font height, whereas the search button has a fixed-size icon in it... Prevent unevent heights by putting them all in a size group. https://bugzilla.gnome.org/show_bug.cgi?id=745263
* file chooser dialog: Add a search button to the headerMatthias Clasen2015-01-281-1/+41
| | | | | This is where we put similar search buttons in applications and in other dialogs, such as the GtkAppChooserDialog.
* Remove more leftover —esMatthias Clasen2014-09-081-1/+1
| | | | These were leftover at various places in the documentation.
* file-chooser: make accept action sensitive only when has selectionWilliam Jon McCann2014-02-201-6/+36
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=547988
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-1/+1
| | | | Instead of Return value:
* docs: fully break lines in examplesWilliam Jon McCann2014-02-121-17/+35
| | | | | | | | | Try to do a better job of keeping example content from being too wide. It is often rendered as <pre> text so the only time we can wrap it is in the source. It is best to full break lines at all punctuation and to try to keep the width under 70 chars or so.
* docs: use proper apostropheWilliam Jon McCann2014-02-071-1/+1
| | | | https://wiki.gnome.org/Design/OS/Typography
* docs: Use markup for linksWilliam Jon McCann2014-02-071-1/+1
|
* docs: use proper quotesWilliam Jon McCann2014-02-051-5/+5
|
* docs: replace all <examples> with markdown headingsWilliam Jon McCann2014-02-041-15/+9
|
* Fix docs buildMatthias Clasen2014-02-031-4/+3
|
* docs: add missing close para tagWilliam Jon McCann2014-02-031-1/+2
| | | | From 30cc1512e
* Docs: Use markdown for listsMatthias Clasen2014-02-021-37/+28
| | | | This greatly reduces the amount of xml in the docs.
* docs: use |[ ]| instead of <programlisting></programlisting>William Jon McCann2014-01-291-6/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* docs: don't use <guimenuitem>William Jon McCann2014-01-281-8/+4
| | | | We don't want to assume menu bar structures.
* docs: don't use <emphasis>William Jon McCann2014-01-281-2/+2
| | | | It is a little heavy handed. The text can speak for itself.
* resources: move resources into a subdirectoryWilliam Jon McCann2014-01-231-1/+1
|
* file chooser dialog: Use headerbarWilliam Jon McCann2014-01-171-0/+3
| | | | | | | Make the file chooser dialog use a headerbar when desired. https://bugzilla.gnome.org/show_bug.cgi?id=720059
* file chooser: Clean up direct action area interactionMatthias Clasen2014-01-171-68/+37
|
* Update all internal users of gtk_dialog_get_action_areaMatthias Clasen2014-01-171-0/+6
| | | | | Some of these should be revisited and fixed. For now, just avoid the deprecation warnings.
* Another round of template binding api changesMatthias Clasen2013-07-261-1/+1
| | | | | | | | | | | We rename the gtk_widget_class_bind_template_child{_internal} macros by appending a _private to their name. Otherwise, it would be too magic to pass the 'public' names as arguments, but affect a member of the Private struct. At the same time, Add two new macros with the old names, gtk_widget_class_bind_template_child{_internal} that operate on members of the instance struct.
* Rename the widget template APIEmmanuele Bassi2013-07-261-5/+5
| | | | | | | | | | | | | | | | | | | | The macros and functions are inconsistently named, and are not tied to the "template" concept - to the point that it seems plausible to use them without setting the template. The new naming scheme is as follows: gtk_widget_class_bind_template_child_full gtk_widget_class_bind_template_callback_full With the convenience macros: gtk_widget_class_bind_template_child gtk_widget_class_bind_template_child_internal gtk_widget_class_bind_template_callback https://bugzilla.gnome.org/show_bug.cgi?id=700898 https://bugzilla.gnome.org/show_bug.cgi?id=700896
* widget: Use a real offset in gtk_widget_class_automate_childAlexander Larsson2013-07-261-1/+1
| | | | | | | | | | Using an offset from the struct means you can have children in both the public and private (via G_PRIVATE_OFFSET) parts of the instance. It also matches the new private macros nicer. https://bugzilla.gnome.org/show_bug.cgi?id=702563 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-14/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* Start migrating internals away from GtkStockWilliam Jon McCann2013-06-241-6/+6
|
* Move GtkFileChooserDialogPrivate into gtkfilechooserdialog.cFederico Mena Quintero2013-04-111-0/+8
| | | | | We'll take private structures out of gtkfilechooserprivate.h and move them to the appropriate place.
* GtkFileChooserDialog: Define children with a GtkBuilder templateTristan Van Berkom2013-04-081-80/+25
|
* filechooser: Move saving geometry to where it belongsBenjamin Otte2013-01-261-0/+31
| | | | | Move it from the filechooserwidget to the filechooserdialog unmap function. It was previously only working for filechooserdialogs, too.