summaryrefslogtreecommitdiff
path: root/gtk/gtkmountoperation.c
Commit message (Collapse)AuthorAgeFilesLines
* Start migrating internals away from GtkStockWilliam Jon McCann2013-06-241-8/+5
|
* mountoperation: fix previous commitCosimo Cecchi2012-09-181-1/+2
| | | | We don't want to call this method if there's no shell agent.
* mountoperation: don't timeout proxied mount operation dialogsCosimo Cecchi2012-09-181-0/+2
| | | | | | When we proxy mount operation dialogs to the Shell agent, don't use a timeout for the remote calls, since we will be waiting on user interaction.
* Improve the layout of the mount operation dialogWilliam Jon McCann2012-08-241-73/+79
| | | | | | | | | This improves the layout of the mount operations dialog to: * Make primary labels bold in all cases * Lay out the widgets in a grid * Put space between the two radio groups to distinguish them https://bugzilla.gnome.org/show_bug.cgi?id=682552
* GtkMountOperation: Return the right password_saveAlexander Larsson2012-08-201-0/+1
| | | | | If the buttons were never sent we returned the wrong default value (i.e. not what the UI displayed).
* Don't export private GtkMountOperationHandler apiMatthias Clasen2012-06-251-33/+42
|
* mountoperation: use the Shell DBus proxy if availableCosimo Cecchi2012-06-221-31/+312
| | | | | | | | | | Make GMountOperation look for an owner of org.Gtk.MountOperationHandler if possible, and use it instead of the GTK-based dialogs. This allows applications to use the implementation offered by the desktop shell, if available, through a DBus private interface: org.Gtk.MountOperationHandler. https://bugzilla.gnome.org/show_bug.cgi?id=674963
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* mountoperation: fix the buildCosimo Cecchi2011-09-271-1/+1
| | | | | 2d3db3421fd8067dd9c59a0727da239936187cc5 has a typo which broke the build on master.
* Bug 659406 - Abstract what triggers a context menuMichael Natterer2011-09-271-1/+1
| | | | | | Add gdk_event_triggers_context_menu(), using the new modifier abstraction API. Remove _gtk_button_event_triggers_context_menu() and port all callers.
* Bug 659406 - Abstract what triggers a context menuMichael Natterer2011-09-261-2/+1
| | | | | | Add _gtk_button_event_triggers_context_menu() and use it instead of checking for event->button == 3, so context menus are invoked correctly on the Mac.
* More include cleanupsMatthias Clasen2011-08-281-2/+1
|
* Clean up unneeded includesMatthias Clasen2011-08-281-1/+1
|
* GtkMountOperation: Replace GtkTable by GtkGridMatthias Clasen2011-08-281-9/+7
|
* gtk/gtkmountoperation: gtk_misc_set_alignmentDiego Celix2011-06-101-5/+8
| | | | | | | | Replacing the function gtk_misc_set_alignment () with gtk_widget_set_halign () and gtk_widget_set_valign () in gtk/gtkmountoperation.c https://bugzilla.gnome.org/show_bug.cgi?id=650762
* GtkMountOperation: don't use a GtkAlignmentMatthias Clasen2011-06-071-12/+6
|
* mount-operation: don't show the dialog until the tree is populatedCosimo Cecchi2011-01-281-4/+10
| | | | | | | Otherwise it won't show up properly, and GTK+ will trigger a warning. Don't know why this did not show up before. https://bugzilla.gnome.org/show_bug.cgi?id=640744
* gtk: remove "gboolean homogeneous" from gtk_box_new()Michael Natterer2010-11-021-6/+6
| | | | Because it's FALSE in virtually all use cases.
* Use gtk_box_new() instead gtk_[v|h]box_new()Javier Jardón2010-10-301-6/+6
|
* Tons of transfer annotationsMatthias Clasen2010-09-211-3/+3
|
* Remove separators from dialogsMatthias Clasen2010-09-021-2/+0
| | | | | It seems more reasonable to remove this feature than to keep fighting off every separator that pops up by accident in a dialog.
* Miscellaneous string fixesPhilip Withnall2010-08-221-1/+1
| | | | Mostly capitalisation fixes. Closes: bgo#528257
* Use accessor functions to access GtkDialogJavier Jardón2010-07-131-4/+8
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* [annotations] Add allow-noneJohan Dahlin2010-02-191-2/+2
| | | | | | | | This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474
* Move documentation to inline comments: GtkMountOperationJavier Jardón2009-12-211-12/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=597865
* Fix a compilation warningJavier Jardón2009-10-211-9/+10
| | | | | Reorder the function so the "lookup_context" variable can't be used uninitialized
* Fix gccism - pointer arithmetic with void pointersHans Breuer2009-07-131-3/+3
|
* Bug 587485 – GMountOperation::show-processes supportDavid Zeuthen2009-07-061-4/+597
| | | | | | - Add support for GMountOperation::show-processes - Implement process look up for the X11 target
* Allow empty passwords in GtkMountOperationMatthias Clasen2009-04-081-2/+7
| | | | | Allow empty passwords, since there are situations where the backend doesn't need the password. (#578365)
* Clear all optionally created widget pointer in priv. Initially priv isAlexander Larsson2009-03-101-0/+4
| | | | | | | | | | | | | | | | 2009-03-10 Alexander Larsson <alexl@redhat.com> * gtk/gtkmountoperation.c: (gtk_mount_operation_ask_password): Clear all optionally created widget pointer in priv. Initially priv is cleared so thats ok, but on a second call we may have leftovers from previous calls which is problematic if for instance we asked for the user the first time and not the second, then we will access the old priv->username_entry. svn path=/trunk/; revision=22496
* Bug 573383 – GtkMountOperation fixes for ask_password()David Zeuthen2009-02-271-5/+28
| | | | | | | | | | | | | 2009-02-27 David Zeuthen <davidz@redhat.com> Bug 573383 – GtkMountOperation fixes for ask_password() * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Split the message from GMountOperation into primary/secondary like we also do in gtk_mount_operation_ask_question() svn path=/trunk/; revision=22415
* sort functions so their order is more "standard", some cosmetic cleanupMichael Natterer2009-02-191-60/+38
| | | | | | | | | | 2009-02-19 Michael Natterer <mitch@imendio.com> * gtk/gtkmountoperation.c: sort functions so their order is more "standard", some cosmetic cleanup (not changing any code). svn path=/trunk/; revision=22377
* Require GLib 2.19.7 for GMountOperation::aborted.Matthias Clasen2009-02-171-0/+19
| | | | | | | | * configure.in: Require GLib 2.19.7 for GMountOperation::aborted. * gtk/gtkmountoperation.c: Implement GMountOperation::aborted. svn path=/trunk/; revision=22347
* Set an empty title on password dialogs. Pointed out by Máirín Duffy.Matthias Clasen2008-12-131-0/+1
| | | | | | | | * gtk/gtkmountoperation.c: Set an empty title on password dialogs. Pointed out by Máirín Duffy. svn path=/trunk/; revision=21873
* Bug 562878 – password save incorrectly set in gtkmountoperationCarlos Garcia Campos2008-12-021-7/+20
| | | | | | | | | | | | | | | 2008-12-02 Carlos Garcia Campos <carlosgc@gnome.org> Bug 562878 – password save incorrectly set in gtkmountoperation * gtk/gtkmountoperation.c (remember_button_toggled), (gtk_mount_operation_ask_password): Remember the password save flags only when the radio button becomes active. Set also the default state of the radio buttons depending on the current value of password save flags. svn path=/trunk/; revision=21840
* Bump gtk-doc dependency to 1.11 for nicer index-generation.Matthias Clasen2008-11-211-1/+1
| | | | | | | | | | | | | | | | 2008-11-21 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump gtk-doc dependency to 1.11 for nicer index-generation. 2008-11-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmountoperation.[hc]: Declare structs in a way that gtk-doc understands. svn path=/trunk/; revision=21794
* Fix a property definitionMatthias Clasen2008-10-241-1/+1
| | | | svn path=/trunk/; revision=21709
* missing Since 2.14, fixes #549236Gian Mario Tagliaretti2008-08-251-0/+2
| | | | svn path=/trunk/; revision=21194
* Move some mnemonics aroundMatthias Clasen2008-08-111-3/+3
| | | | svn path=/trunk/; revision=21073
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
* Enable correctly dialog buttons sensitivity when the anonymous option isCarlos Garnacho2008-05-271-1/+6
| | | | | | | | | | 2008-05-27 Carlos Garnacho <carlos@imendio.com> * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable correctly dialog buttons sensitivity when the anonymous option is enabled by default. Bug #531865. svn path=/trunk/; revision=20183
* Set password dialog modal and transient for the parent window also if itCarlos Garnacho2008-05-271-1/+6
| | | | | | | | | | 2008-05-27 Carlos Garnacho <carlos@imendio.com> * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set password dialog modal and transient for the parent window also if it was specified in the constructor. Bug #531864. svn path=/trunk/; revision=20182
* Formatting fixesMatthias Clasen2008-05-261-8/+89
| | | | | | | | | | | 2008-05-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkshow.[hc]: Formatting fixes * gtk/gtkmountoperation.c: Add docs svn path=/trunk/; revision=20169
* set alternative button order on the password dialog.Sven Neumann2008-03-181-1/+6
| | | | | | | | | 2008-03-18 Sven Neumann <sven@gimp.org> * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set alternative button order on the password dialog. svn path=/trunk/; revision=19897
* Implement GtkMountOperation, a subclass of GMountOperation to be used withChristian Kellner2008-03-171-0/+795
2008-03-17 Christian Kellner <gicmo@gnome.org> Implement GtkMountOperation, a subclass of GMountOperation to be used with gio wherever there is the need to ask the user for credentials or questions while mounting a volume. This is bug #522245 * gtk/gtkmountoperation.c: * gtk/gtkmountoperation.h: Implement GtkMountOperation. * gtk/gtk.h: Add gtkmountoperation.h * gtk/Makefile.am: Add gtkmountoperation.[hc] * gtk/gtk.symbols: Add symbols of GtkMountOperation. * tests/testmountoperation.c: Test program for it. * tests/Makefile.am: Add testmountoperation. svn path=/trunk/; revision=19894