1
0
mirror of https://github.com/GNOME/gedit synced 2024-07-05 03:35:11 +00:00
Commit Graph

105 Commits

Author SHA1 Message Date
Sébastien Wilmet
31a688ff23 filebrowser: fix compil warning [-Wdeclaration-after-statement] 2023-07-25 16:00:00 +02:00
Arjun Suresh
c18ce28b8e filebrowser: fix Invalid cast to GtkWindow
Fixes https://gitlab.gnome.org/GNOME/gedit/-/issues/516
2023-01-17 16:00:01 +01:00
Sébastien Wilmet
7cc573c0ec filebrowser: fix use of deprecated g_pattern function
The implementation of g_pattern_match_string() now just calls
g_pattern_spec_match_string().

Tested also with printf-debugging, the feature still works as expected
(right click -> Filter -> Match Filename).
2022-07-17 19:59:24 +02:00
Sébastien Wilmet
cf472fd724 Get rid of HAVE_CONFIG_H
It's specific to Autotools.
2019-12-05 14:26:27 +01:00
Sebastien Lafargue
69688c4a60 file-browser: fix tree view cast 2018-11-27 18:25:07 +01:00
Sebastien Lafargue
998078ba3f gedit: remove usage of deprecated gtk_menu_popup_* functions
The position of the file browser contextual menu
when activated by shortcut is also fixed.
2018-11-24 22:54:45 +01:00
Sebastien Lafargue
9913f5ae47 file-browser: correct color for symbolic icons in dark mode
Previously, symbolics icons were hard-coded with pixbufs in the stores,
means no re-colorization when the theme change.

fix #99
2018-11-24 18:58:57 +01:00
Sebastien Lafargue
bd5e5fc703 file-browser: coding style cleanup 2018-11-24 16:05:52 +01:00
humbdi
3a9459b107 filebrowser: don't use deprecated gtk_show_uri
gtk_show_uri_on_window is recommended in gtk+ 3.22+

https://developer.gnome.org/gtk3/stable/gtk3-Filesystem-utilities.html#gtk-show-uri-on-window

https://bugzilla.gnome.org/show_bug.cgi?id=791565
2018-01-28 17:11:46 -05:00
Piotr Drąg
dfa8fa42eb Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=774221
2018-01-28 18:38:49 +01:00
Garrett Regier
f30c1257cf filebrowser: fix gtk_tree_model_get_iter() usage 2017-01-19 20:50:34 -08:00
Jeremy Bicha
8cc35848ef Revert "Control+Delete to send files to the trash. Same as in nautilus."
This reverts commit 9f30645e26.

Nautilus went back to accepting "Delete" without needing to use "Ctrl":
https://git.gnome.org/browse/nautilus/commit/?id=036152f

https://bugzilla.gnome.org/show_bug.cgi?id=769588
2016-08-20 10:19:56 -04:00
Sébastien Wilmet
741c22c603 Fix critical messages with NULL cursor
gdk_cursor_new_from_name() can return NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=757639
2015-11-06 10:42:40 +01:00
Paolo Borelli
373adb7d04 Remove gedit-marhal
These days we can use the automatic ffi marshalling
2015-08-17 14:29:08 +02:00
Paolo Borelli
8ed0f54f95 Use the new gdk cursor api 2015-07-29 12:32:23 +02:00
Paolo Borelli
3bed781fca Remove checking nautilus "enable-delete" setting
Nautilus removed this setting
2015-03-03 10:14:37 +01:00
Sebastien Lafargue
fc97ef221c filebrowser plugin: replace deprecated gdk_cursor_new 2015-01-05 23:17:59 +01:00
Sebastien Lafargue
15f89b28a4 file-browser plugin: replace combobox by a popover
The combobox at top is replaced by a menu button and
a popover.

And replace the GtkTreeStore used by the combo
by a GtkListStore.

https://bugzilla.gnome.org/show_bug.cgi?id=742341
2015-01-05 19:21:45 +01:00
Paolo Borelli
6a2e398170 filebrowser: hide combo on bookmark page
When we are showing bookmark, the combo has no items and does not
behave well, just hide it and show a plain label
2014-10-19 11:39:37 +02:00
Paolo Borelli
d2638ed82b Clean up how filebrowser toolbar is built 2014-07-29 14:59:54 +02:00
Paolo Borelli
34d6b95b53 filebrowser: do not special case rtl forward/back icons
Gtk should do it for us now
2014-07-20 15:04:01 +02:00
Paolo Borelli
22bdaaae18 Readd bus interface to extend the filebrowser context menu
https://bugzilla.gnome.org/show_bug.cgi?id=725424
2014-03-03 14:17:49 +01:00
Paolo Borelli
a97da59cf3 Hide the filebrowser filter entry by default 2014-02-22 19:55:50 +01:00
Daniel Mustieles
40eb2b5e18 Updated FSF's address 2014-01-23 12:51:58 +01:00
Yosef Or Boczko
4e1e5844de filebrowser: Fix the icons of the buttons in the toolbar in RTL
https://bugzilla.gnome.org/show_bug.cgi?id=722271
2014-01-15 17:26:00 +02:00
Ignacio Casal Quinteiro
ca95340744 filebrowser: use g_action_map_lookup_action instead of deprecated version 2013-11-05 20:18:02 +01:00
Sébastien Wilmet
5af28c20a7 The King is Dead for the file browser
The King is now Dead everywhere the composite widget templates are used
(normally), to avoid segfaults.
2013-07-29 17:55:46 +02:00
Matthias Clasen
32f3b03051 Adapt to recent GTK+ api changes
The template binding macros got renamed around a few times.

https://bugzilla.gnome.org/show_bug.cgi?id=704963
2013-07-27 10:15:31 -04:00
Ignacio Casal Quinteiro
6c23e7ac3c Fix for gtk+ template api break 2013-07-26 18:00:01 +02:00
Garrett Regier
7c5a12a037 Don't use deprecated stock and image menu item API 2013-06-30 08:58:15 -07:00
Garrett Regier
4c1e7f754e Fix setting the virtual root
Must use the file browser widget's method to get the correct root
2013-06-16 09:01:39 -07:00
Garrett Regier
e7ca301dc7 Bug 698434 - Show popup on right-click for history buttons in file browser
This is partially a reversion of:
https://git.gnome.org/browse/gedit/commit/?id=b69de75046faf4844d45fa67b772a68335b2ff57
2013-06-16 08:43:17 -07:00
Garrett Regier
568bb9b4d7 Bug 697433 - Allow directly typing a path in file browser
The path can be either absolute, uri, or relative. The entry is initially
hidden and is only displayed when ~, /, \ or Ctrl+L are pressed and
will be hidden if Escape is pressed.
2013-06-16 04:42:07 -07:00
Garrett Regier
4c659efe4f Bug 697251 - Alt+Home should go to home directory 2013-06-14 06:28:25 -07:00
Garrett Regier
9183a27d40 Fix activating browser actions in the file browser plugin 2013-06-14 06:21:28 -07:00
Ignacio Casal Quinteiro
2b06c874e3 filebrowser: clear signal in dispose to avoid assertion 2013-04-20 15:33:07 +02:00
Ignacio Casal Quinteiro
61b8653fb3 filebrowser: remove indentation
It does not work anymore with new comboboxes anyway.
If we want this at some point we will need a custom cell renderer.
2013-04-20 15:33:07 +02:00
Ignacio Casal Quinteiro
0113604068 filebrowser: remove bookmark-open menuitem
https://bugzilla.gnome.org/show_bug.cgi?id=698404
2013-04-20 15:32:10 +02:00
Ignacio Casal Quinteiro
ca94b27255 Use dispose to cleanup member 2013-04-20 15:32:10 +02:00
Ignacio Casal Quinteiro
4b7f474afe filebrowser: port to GMenu and use a Template for the UI 2013-04-20 15:32:10 +02:00
Ignacio Casal Quinteiro
945a92d762 file-browser: Rename needs ellipsis. Fixes bug #697553 2013-04-16 17:25:22 +02:00
Ignacio Casal Quinteiro
5acc1cac2e filebrowser: use symbolic icons for bookmarks 2012-09-26 11:32:46 +02:00
bharaththiruveedula
f93cf42d90 use new macros for checking buttons 2012-03-05 16:35:30 +01:00
Paolo Borelli
2975bcb9ea file-manager: use gresource 2012-03-01 21:12:49 +01:00
Ignacio Casal Quinteiro
b69de75046 filebrowser: remove back and forward dropdown buttons from toolbar 2012-01-01 11:23:36 +01:00
Ignacio Casal Quinteiro
8906e1082d filebrowser: kill the expander and use an entry with a placeholder text 2011-12-24 12:08:45 +01:00
Paolo Borelli
9cfe463fba Revert "filebrowser: set toolbar style as primary"
This reverts commit a76e832ea6.
It was a test to see how it looks, but having two primary toolbars near
each other does not look very good.
2011-06-18 18:49:19 +02:00
Ignacio Casal Quinteiro
a76e832ea6 filebrowser: set toolbar style as primary 2011-06-18 11:37:52 +02:00
Garrett Regier
18a62cc5d7 No longer use Gtk[HV]Box as it is deprecated 2011-06-12 12:35:02 -07:00
Paolo Borelli
611fe56ae2 Small cleanup I had locally on top of the recent ctrl+delete commit. 2011-04-06 03:49:49 +02:00