summaryrefslogtreecommitdiff
path: root/gtk/gtkplacessidebar.c
Commit message (Collapse)AuthorAgeFilesLines
* places-sidebar: add optional enter location placeWilliam Jon McCann2014-04-221-0/+104
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=722211
* places-sidebar: use separators instead of heading labelsWilliam Jon McCann2014-04-221-75/+23
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=722211
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-7/+7
| | | | Instead of Return value:
* docs: use apostrophe in *'llWilliam Jon McCann2014-02-071-1/+1
|
* docs: use proper apostropheWilliam Jon McCann2014-02-071-5/+5
| | | | https://wiki.gnome.org/Design/OS/Typography
* docs: use proper quotesWilliam Jon McCann2014-02-051-8/+8
|
* docs: Identify examples that are C codeWilliam Jon McCann2014-01-291-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* GtkPlacesSidebar: Stop drives that can be stoppedMatthias Clasen2014-01-271-31/+37
| | | | | | | | | Removable USB drives or memory sticks should be powered down when the eject button is pressed. For this, we need to call g_drive_stop() instead of g_drive_eject(), provided the drive can be stopped. https://bugzilla.gnome.org/show_bug.cgi?id=723121
* GtkPlacesSidebar: Fix two copy-paste errorsMatthias Clasen2014-01-271-2/+2
| | | | Sadly, this means the code can have never been tested :-(
* GtkPlacesSidebar: Remove to FIXMEsMatthias Clasen2014-01-271-4/+4
| | | | It doesn't hurt to just add the ref here, as the FIXME suggests.
* docs: use correct signal name in docsWilliam Jon McCann2014-01-211-1/+1
|
* Fix a memory leakMatthias Clasen2014-01-131-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=722029
* GtkPlacesSidebar: Don't show desktop if its homeMatthias Clasen2013-12-191-8/+11
| | | | | | We go to extra length to set the desktop_uri to NULL when desktop == home, but then we were adding the (non-functional) place item anyway. Don't do that.
* GtkPlacesSidebar: avoid a crashMatthias Clasen2013-12-191-1/+1
| | | | | | | Be more careful when comparing uris during DND - they may be NULL. https://bugzilla.gnome.org/show_bug.cgi?id=720264
* places sidebar: Use a symbolic desktop iconMatthias Clasen2013-12-011-2/+3
| | | | | | This was pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=719505
* Change the default for "show-desktop" back to TRUEMatthias Clasen2013-11-261-1/+1
| | | | | | | | Change the GtkSettings default for "shell-shows-desktop" back to TRUE and also change the default value of the "show-desktop" property on GtkPlacesSidebar so that the defaultvalue test passes. https://bugzilla.gnome.org/show_bug.cgi?id=712302
* GtkPlacesSidebar: don't unref an object we don't ownCosimo Cecchi2013-11-141-1/+1
| | | | | gtk_settings_get_default() doesn't return a reference, so don't unref it during dispose.
* GtkPlacesSidebar: use shell-shows-desktop settingRyan Lortie2013-11-141-3/+50
| | | | | | | Use the just-added shell-shows-desktop GtkSetting to determine if we should also show the "Desktop" folder in the places sidebar. https://bugzilla.gnome.org/show_bug.cgi?id=712302
* GtkPlacesSidebar: Show unmounted bookmarksBastien Nocera2013-11-131-17/+35
| | | | | | | The GtkFileInfo is only used if there's no bookmark name, or to get the icon for the remote share or local folder. https://bugzilla.gnome.org/show_bug.cgi?id=711548
* Silence a compiler warningMatthias Clasen2013-11-091-1/+1
|
* Filter out duplicate application shortcutsMatthias Clasen2013-11-091-0/+35
| | | | | | | The file chooser used to do this, the places sidebar still needs to learn it. https://bugzilla.gnome.org/show_bug.cgi?id=711636
* GtkPlacesSidebar: Add local-onlyMatthias Clasen2013-11-091-61/+146
| | | | | | | This is necessary to implement the filechooser property of the same name. https://bugzilla.gnome.org/show_bug.cgi?id=711574
* Update coding styleMatthias Clasen2013-11-091-3518/+3486
| | | | gtkplacessidebar.c was looking foreign.
* Properly set drop targetsMatthias Clasen2013-11-091-3/+6
| | | | Pointed out in by Nelson Benitez in bug 707679.
* Revert "GtkPlacesSidebar: support switching locations for XDS drag types"Matthias Clasen2013-10-231-15/+3
| | | | This reverts commit 588ffa8c3241eff2f8e2d99b911a6bcb539347bd.
* Revert "GtkPlacesSidebar: support open locations when dragging text"Matthias Clasen2013-10-231-16/+5
| | | | This reverts commit 1b839d4b72a2cedb2bb633b5acd57239860693f4.
* Revert "GtkPlacesSidebar: use gtk api to add dnd uri targets"Matthias Clasen2013-10-231-1/+1
| | | | This reverts commit 7fa27dff259ad79d5a4364d7eaa6b63150082af3.
* GtkPlacesSidebar: use gtk api to add dnd uri targetsNelson Benítez León2013-10-231-1/+1
| | | | | | Instead of hardcoding it in the dnd drop targets list. Part of bug 707679
* GtkPlacesSidebar: support open locations when dragging textNelson Benítez León2013-10-231-5/+16
| | | | | | | Make GtkPlacesSidebar also open locations when hovered by text dnd targets. Part of bug 707679
* GtkPlacesSidebar: support switching locations for XDS drag typesNelson Benítez León2013-10-231-3/+15
| | | | | | | Make GtkPlacesSidebar also change locations when hovered by XDS dnd targets (eg. dragging a file from file-roller). Part of bug 707679
* all: Add names to timeoutsBastien Nocera2013-10-231-0/+2
| | | | | | | Add names to every timeout we setup, so it's easier to track their usage, and debug possible misbehaviour. https://bugzilla.gnome.org/show_bug.cgi?id=710651
* Populate GtkPlacesSidebar at initializationJohn Lindgren2013-10-061-0/+3
| | | | | | | | | | | Previously, the "Places" sidebar was populated by the update_places() call from within gtk_places_sidebar_style_set(). After 742a2f11a95a1e9ce56fe1a628743c7e8add8a57, update_places() is never called and the sidebar is never populated unless gtk_places_sidebar_add_shortcut() happens to be called. This commit fixes this by calling update_places() at the end of gtk_places_sidebar_init(). https://bugzilla.gnome.org/show_bug.cgi?id=709522
* places sidebar: Small cleanupDebarshi Ray2013-10-031-2/+2
|
* Improve struct packing in various placesMatthias Clasen2013-09-211-6/+5
|
* places sidebar: Don't activate the bookmark if Eject was clickedFederico Mena Quintero2013-09-201-7/+2
| | | | | | This should really fix https://bugzilla.gnome.org/show_bug.cgi?id=704087 ... Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* places sidebar: don't open a bookmark when clicking ejectJoshua Lock2013-09-191-1/+6
| | | | | | Trying to open a bookmark which is being ejected is at best confusing. https://bugzilla.gnome.org/show_bug.cgi?id=704087
* More documentation fixesMatthias Clasen2013-09-171-4/+23
|
* Add a style class for context menusMatthias Clasen2013-08-181-0/+3
| | | | | | | | | | | | | | Attached widgets inherit from the style of the widget they are attached to. This can sometimes have unintended consequences, like a context menu in the main view of gedit inheriting the font that is configured for documents, or the context menu of the preview in the font chooser coming up with humongous font size. To fix this problem, we introduce a context menu style class and use it for all menus that are used like that. The theme can then set a font for this style class. https://bugzilla.gnome.org/show_bug.cgi?id=697127
* Drop some unnecessary includesMatthias Clasen2013-07-191-1/+0
| | | | | Drop includes of deprecated headers where they are no longer needed.
* Move wholly deprecated classes to gtk/deprecated/Matthias Clasen2013-07-191-1/+1
| | | | | | | | | | | | | | | | | | We've recently a number of classes wholly. For these cases, move the headers and sources to gtk/deprecated/ and adjust Makefiles and includes accordingly. Affected classes: GtkAction GtkActionGroup GtkActivatable GtkIconFactory GtkImageMenuItem GtkRadioAction GtkRecentAction GtkStock GtkToggleAction GtkUIManager
* Set reasonable minimum size for the file chooserWilliam Jon McCann2013-07-171-0/+2
| | | | At small sizes it just looks broken.
* Deprecate and ignore timeout-expand settingWilliam Jon McCann2013-07-111-7/+2
|
* places sidedbar: deal with lack of symbolicsMatthias Clasen2013-07-091-8/+8
| | | | | | | Use g_themed_icon_new_with_default_fallbacks, so we don't end up without icons when the theme doesn't have symbolic icons. https://bugzilla.gnome.org/show_bug.cgi?id=703606
* Deprecate GtkIconFactory, GtkIconSet, GtkIconSourceWilliam Jon McCann2013-06-261-4/+1
| | | | | We want to use GtkIconTheme instead. It is worth noting that the parts that remain undeprecated are GtkIconSize and gtk_icon_size_lookup.
* Start migrating internals away from GtkStockWilliam Jon McCann2013-06-241-7/+2
|
* GtkPlacesSidebar: do not unref mountAlban Browaeys2013-05-261-1/+0
| | | | | | | | | Do not unref mount has we grabbed its pointer without taking a reference. Otherwise the following call to g_list_free_full on network_mounts frees it a second time. Segfault in nautilus ensue. https://bugzilla.gnome.org/show_bug.cgi?id=700979
* GtkPlacesSidebar: Only create bookmarks for folders, not filesFederico Mena Quintero2013-05-221-1/+11
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=561221 Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* GtkPlacesSidebar: Fixed tooltip capitalizationJoe Pea2013-05-131-1/+1
| | | | | Use sentence capitalization for the tooltip on the file system disk under Devices. https://bugzilla.gnome.org/show_bug.cgi?id=698933
* GtkPlacesSidebar: Fix an uninitialized variable in the error code pathKalev Lember2013-05-071-1/+1
| | | | | Initialize it to NULL early so that we won't try to free an uninitialized variable when handling an error.
* Try this againMatthias Clasen2013-05-021-4/+7
| | | | | When the hostnamed call is cancelled, we get a G_IO_ERROR_CANCELLED error back. Handle it properly.