summaryrefslogtreecommitdiff
path: root/thunar/thunar-location-buttons.c
Commit message (Collapse)AuthorAgeFilesLines
* re-introduce "paste into folder", simplify related code (Issue #293)Alexander Schwinn2020-06-081-1/+1
|
* Merge all file-context-menus into one (Issue #198)Alexander Schwinn2020-06-081-343/+49
| | | | Make use of new widget "thunar-menu" for location buttons instead of providing a foreign menu
* Remove thunar-create-dialog moduleReuben Green2020-05-301-5/+5
| | | | | | | remove the separate thunar-create-dialog module and replace it with a single function in thunar-dialogs (Merge request !9)
* Not possible to empty the trash via the pathbar context menuAlexander Schwinn2019-10-031-1/+1
|
* Add preference to open new thunar instances as tabs, if there is an existing ↵Alexander Schwinn2018-08-201-1/+1
| | | | | | thunar window (Bug #13314)
* Use symbolic icon for edit button in pathbarAndre Miranda2018-06-071-1/+1
|
* Used G_GNUC_BEGIN_IGNORE_DEPRECATIONS on gtk_action and dependencies.Alexander Schwinn2018-05-291-0/+22
| | | | | | So far there is no good solution to replace them. The official workaround for pictured menu items would add an ugly left padding. So we will keep the current code as long as there is no other option.
* removed deprecated method "gtk_menu_popup" and remainsAlexander Schwinn2018-02-151-2/+2
|
* Segfault when pressing "folder up" on pathbar (Bug #13987)Alexander Schwinn2017-11-141-135/+183
|
* Temporary disabled auto-scroll feature of pathbar, in order to preventAlexander Schwinn2017-11-101-4/+7
| | | seg.faults. A proper fix is in work and will be applied soon.
* Strip trailing whitespaceAndre Miranda2017-11-041-3/+3
|
* prevent graphic glitches by always shwowing both pathbar slidersAlexander Schwinn2017-10-151-60/+17
|
* removed warning (wrong integer type used)Alexander Schwinn2017-10-081-1/+1
|
* removed comparison warning by changing scroll-count to positive numbersAlexander Schwinn2017-09-241-5/+5
|
* Fix the location-bar theming of the filler widgetSimon Steinbeiss2017-09-231-1/+1
|
* Overwrite "margin-right" of the used theme with 0 for theAlexander Schwinn2017-09-231-0/+8
| | | pathbar-buttons
* Fix some non-deprecation warningsAndre Miranda2017-08-251-6/+2
|
* Refactored "thunar_location_buttons_size_allocate"acs2017-08-141-243/+128
| | | | | Getting rid of warnings and to introduce a minimum size for the edit-button
* Fixed critical msg when clicked on pathbar filleracs2017-08-141-75/+31
|
* Fix Allocation size warningAndre Miranda2017-08-141-0/+3
|
* Add edit icon to location bar fillerAndre Miranda2017-08-141-45/+11
| | | | | Also removing the entry style from it. With the icon it makes more sense behave as button.
* Rework how location bar selection worksJonas Kümmerlin2017-08-141-181/+176
| | | | | | | | | ThunarLocationBar now isn't an interface, but an actual widget hosting the different location bars. Unfortunately, there is still some code left in ThunarWindow, but this is expected to go away when GtkAction finally dies. On the plus side, we got rid of GtkUIManager inside the location bars and also nuked ThunarLocationDialog from orbit.
* thunar-location-bar: Fixup modernizationJonas Kümmerlin2017-08-141-16/+60
| | | | | | | Less flickering, better calculations. We just need to solve the flickering when scaling down. Also introduce symbolic icons.
* thunar-location-buttons: ModernizeJonas Kümmerlin2017-08-141-59/+202
| | | | | No more deprecated APIs (modulo GtkAction) and now looking gorgeous using linked buttons.
* Get rid of GTK_STOCK_*Jonas Kümmerlin2017-08-141-3/+3
| | | | | While we're at it, also remove some instances of GtkImageMenuItem and introduce symbolic icons in the places we're messing with.
* Make Thunar core compile and not crash with Gtk3Jonas Kümmerlin2017-08-141-23/+39
| | | | | | | | Optional plugins are not ported yet. We use a shitload of deprecated Gtk APIs now. Not all features work. It doesn't look great yet. There are bugs. But, well, it's a first step.
* Make it build with GSEALJonas Kümmerlin2017-08-141-21/+26
| | | | This is a prerequisite for Gtk3 which removes all the fields.
* Coverity CID 60619: Explicit null dereferencedHarald Judt2015-04-221-1/+4
| | | | | CID 60619 (#1 of 1): Explicit null dereferenced (FORWARD_NULL) 20. var_deref_op: Dereferencing null pointer left_button.
* Fix cppcheck possible errors/warningsHarald Judt2015-02-211-0/+3
|
* Add vim modeline. Remove obsolete '$Id$' line.Matt Thirtytwo2015-01-191-1/+1
| | | | Signed-off-by: Landry Breuil <landry@xfce.org>
* Right click context menu with wrong icon (bug #10652)Andrzej2015-01-041-1/+1
| | | | | | | | | | | Author: Thaddaeus Tintenfisch <thad.fisch@gmail.com> Bug: https://bugzilla.xfce.org/show_bug.cgi?id=10652 Bug-Ubuntu: https://launchpad.net/bugs/1271861 Description: Add or change various menu icons: - Open With DEFAULT Application - New Tab/Window - Create Folder/Document - Empty File
* Implement tab middle click in location buttons (bug #9684).Nick Schermer2012-12-271-0/+9
|
* Use static quark to store the thunar file on buttons.Nick Schermer2012-12-271-12/+18
|
* Add new tab option to right-click menu of location buttons.Nick Schermer2012-12-271-0/+28
|
* Skip shortcuts in location button menu (bug #9625).Nick Schermer2012-12-181-7/+7
| | | | | Because the were merged later, they override common shortcuts like Ctrl+V.
* Remove unused functions or make them static.Nick Schermer2012-09-301-18/+0
|
* Remove deprecated functions (bug #7795).Nick Schermer2012-09-251-7/+7
|
* Some initial work to get things starting.Nick Schermer2012-09-161-3/+1
|
* Add startup-id to more D-Bus methods. Move LaunchFiles to org.xfce.FM.Jannis Pohlmann2010-08-311-1/+1
|
* First flow of using G_DEFINE_ macros.Nick Schermer2009-08-211-57/+4
|
* Merge the migration-to-gio branch into master.Jannis Pohlmann2009-08-211-19/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | I'm 100% sure I can implement all ThunarVFS thumbnailers on top of tumbler in time for the Xfce 4.8 release. Same about the volume monitor backend for GIO to avoid a GVfs dependency. So why not merge the GIO branch now? Not much to say about this merge. It replaces ThunarVFS with GIO inside Thunar and Thunarx, something I've been working on over the past few months. It currently requires GVfs for volume monitoring and also (optionally) depends on tumbler for thumbnail generation. Enjoy. All .po files are going to be updated in the next commit. Conflicts: ChangeLog INSTALL acinclude.m4 configure.in.in plugins/thunar-wallpaper/twp-provider.c po-doc/ChangeLog po/ChangeLog po/LINGUAS thunar-vfs/thunar-vfs-1.pc.in thunar-vfs/thunar-vfs-thumb.c thunar/thunar-templates-action.c
* 2006-11-04 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2006-11-041-0/+21
| | | | | | | | | | | * thunar/thunar-location-button.c, thunar/thunar-location-buttons.c: Properly clean up the path bar when a folder on the path bar is deleted. (Old svn revision: 23626)
* 2006-08-29 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2006-08-291-16/+2
| | | | | | | | | | | | | | | | | | | * thunar/thunar-file.{c,h}, thunar/thunar-location-button.c, thunar/thunar-shortcuts-model.c: Add desktop shortcut to the shortcuts pane, and use a special icon for the desktop folder. Bug #2235. * thunar/thunar-chooser-button.c, thunar/thunar-chooser-dialog.c, thunar/thunar-gtk-extensions.{c,h}, thunar/thunar-location-buttons.c, thunar/thunar-renamer-dialog.c, thunar/thunar-shortcuts-view.c, thunar/thunar-standard-view.c, thunar/thunar-tree-view.c: Add helper method thunar_gtk_menu_run(), which takes care of running a GtkMenu in a separate main loop, placing the menu on the appropriate screen first. (Old svn revision: 22936)
* 2006-08-29 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2006-08-291-0/+1514
| | | | | | | | | | | | | | * docs/README.gtkrc, docs/README.thunarrc, thunar/: Revert location bar related changes to the previous user interface, because the new user interface wastes too much space, and makes the file manager look busy. * po/POTFILES.in: Synchronize file list. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. (Old svn revision: 22934)
* 2006-08-28 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2006-08-281-1544/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * thunar/thunar-window.c(action_entries), thunar/thunar-stock.{c,h}: Use "gnome-fs-home" instead of "gtk-home" as icon for Home for consistency. * thunar/thunar-window.c(action_entries): Fix a mnemonic clash. * thunar/thunar-window.c(thunar_window_current_directory_changed): Use "<folder> - File Manager" for the title to make it easier to indentify file manager windows in the taskbar. * thunar/thunar-create-dialog.c, thunar/thunar-permissions-chooser.c, thunar/thunar-standard-view.c: No need to include thunar-stock.h here anymore. * thunar/thunar-history.c(thunar_history_init): Consider "back" as an important action wrt to the appearance in the toolbar. * thunar/thunar-window-ui.xml, thunar/thunar-window.c: Decouple the location bar from the toolbar by separating them into "Location Bar" and "Main Toolbar". Bug #1349. * thunar/thunar-preferences.c, docs/README.thunarrc: Add new options LastLocationBarVisible and LastToolbarVisible, which control the visibility of the "Location Bar" and "Main Toolbar". Add new option LastNavigationBarEntry, which controls whether the navigation bar will display the path entry widget by default. * thunar/thunar-gtk-extensions.{c,h}: Add new helper function thunar_gtk_action_set_tooltip(), which changes the tooltip of a GtkAction. * thunar/thunar-navigation-bar.{c,h}, thunar/thunar-path-button.{c,h}, thunar/thunar-navigation-bar-ui.xml, thunar/thunar-path-bar.{c,h}, thunar/thunar-location-button.{c,h}, thunar/thunar-location-bar.{c,h}, thunar/thunar-location-buttons-ui.xml, docs/README.gtkrc, thunar/thunar-location-buttons.{c,h}, thunar/Makefile.am, thunar/thunar-location-entry.{c,h}, thunar/thunar-marshal.list, thunar/thunar-shortcuts-pane.c, thunar/thunar-shortcuts-view.c, thunar/thunar-tree-pane.c, thunar/thunar-tree-view.c, thunar/thunar-window-ui.xml, thunar/thunar-window.c: Synchronize the latest user interface changes in GtkFileChooser. This way the location bar will be used for both the path bar and the path entry widgets, and a simple toggle button controls whether the path entry is visible. This way (nearly) the full width of the window is avail- able for the path bar. Bug #2060. * thunar/thunar-gtk-extensions.{c,h}: Drop now obsolete helper function thunar_gtk_action_group_create_tool_item() as it's no longer used. * thunar/thunar-location-dialog.c(thunar_location_dialog_init): Reduce translation overhead and don't use a mnemonic here. It was pretty useless anyway. * thunar/thunar-preferences.c, docs/README.thunarrc: Remove now obsolete option LastLocationBar. * po/POTFILES.in: Synchronize file list. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. (Old svn revision: 22920)
* 2006-08-09 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2006-08-091-22/+23
| | | | | | | | | | | | | | | | | | | | | * thunar-vfs/thunar-vfs-exec.c(tvsn_get_active_workspace_number), configure.in.in: Enable compilation with -fstrict-aliasing without breaking the strict aliasing rules of the compiler. * configure.in.in: Enable compilation with --enable-debug=yes or --enable-debug=full and compilers other than gcc. * configure.in.in, thunar/thunar-private.h, thunar/thunar-*.c: Disable extra debugging in release builds, Thunar received quite a lot of stabilization now. This affects only the internals of the binary. The public API is still fully sanity checked. * thunar/thunar-column-model.c, thunar/thunar-renamer-model.c, thunar/thunar-shortcuts-model.c, thunar/thunar-tree-model.c: Remove unused variables when building with --enable-debug=no or --enable-debug=minimum now. (Old svn revision: 22700)
* 2006-07-27 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2006-07-271-12/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README, acinclude.m4, configure.in.in, thunar-vfs/, thunar/, plugins/thunar-apr/thunar-apr-provider.c, plugins/thunar-uca/thunar-uca-model.c: Import the trash framework, based on the XDG trash specification, but currently limited to the home trash. * thunar/thunar-file.{c,h}, thunar/thunar-standard-view.c (thunar_standard_view_merge_custom_actions): Remove obsolete thunar_file_get_actions(). Bug #1241. * thunar/thunar-file.c, thunar/thunar-util.{c,h}: Use localized human readable format for file dates. Bug #2057. * thunar/thunar-private.h, thunar/thunar-tree-model.c, thunar/thunar-thumbnail-generator.c, thunar/thunar-shortcuts-model.c, thunar/thunar-renamer-pair.c, thunar/thunar-renamer-model.c, thunar/thunar-clipboard-manager.c: Use the slice allocator to reduce the memory overhead. * thunar/thunar-gtk-extensions.{c,h}, thunar/thunar-chooser-button.c, thunar/thunar-permissions-chooser.c, thunar/thunar-chooser-dialog.c, thunar/thunar-preferences-dialog.c, thunar/thunar-renamer-dialog.c, thunar/thunar-size-label.c: Use a single shared GtkTooltips instance for the whole application. * thunar/thunar-path-entry.c: Update the path entry icon and text whenever the current file changes. * README, acinclude.m4, configure.in.in, plugins/thunar-tpa/: Add a trash panel applet, that communicates with Thunar via D-BUS to display the current state of the trash can and move files to the trash by dropping them to the panel applet. * thunar/thunar-preferences.c(thunar_preferences_class_init), docs/README.thunarrc: Disable case-sensitive sorting of the files by default. Bug #2064. * docs/reference/thunar-vfs/: Update the API documentation. * po/POTFILES.in: Add new files here. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. (Old svn revision: 22534)
* 2006-05-29 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2006-05-291-56/+0
| | | | | | | | | | | * thunar/thunar-location-button.c, thunar/thunar-location-buttons.c: Cleanup location buttons properly when a directory is unmounted or otherwise destroyed. Bug #1752. (Old svn revision: 21893)
* 2006-05-05 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2006-05-061-1/+0
| | | | | | | | | | * thunar/thunar-location-buttons.c (thunar_location_buttons_action_create_folder): Fix double unref. (Old svn revision: 21548)
* 2006-04-19 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2006-04-191-3/+52
| | | | | | | | | | | | * thunar/thunar-location-buttons.c: Add "Properties" to the path bar context menu. Bug #1675. * thunar/thunar-location-button.c(thunar_location_button_set_file): Watch folders in the path bar for changes. Bug #1686. (Old svn revision: 21093)