summaryrefslogtreecommitdiff
path: root/pluma/pluma-window.c
AgeCommit message (Collapse)AuthorFilesLines
2021-03-04pluma-window: unused variable ‘ui_file’ [-Wunused-variable]rbuj1-1/+0
2021-03-02code formating fixesmbkma1-3360/+3319
pluma-app.c: tabs to spaces pluma-view.c: tabs to spaces, move code around pluma-window.c: tabs to spaces
2021-03-02Introduce PlumaWindowActivatable, PlumaAppActivatable, PlumaViewActivatablembkma1-13/+16
These interfaces are for extensions that should be activated against a window/app/view. Backport from - https://gitlab.gnome.org/GNOME/gedit/-/commit/4fe7161560941ae1aa42165ff4d71121ad6f67b9 - https://gitlab.gnome.org/GNOME/gedit/-/commit/56a790a6851ebc98766cc4aca27cb32dde1b41bf - https://gitlab.gnome.org/GNOME/gedit/-/commit/210ed41e48988646203fc94eba19ce94657821cd In pluma-app.c we use gtk_main_quit instead of app object unref when last window closed. Plugin engine finalization calls app_get_default which reconstructs the app object. Before that was reasonably ok because it didn't really do anything, but now the app does stuff in 'init'. See https://gitlab.gnome.org/GNOME/gedit/-/commit/90c9889a4a31fbebfa042c5d2c64bb2b05160b10
2021-02-25Drop pluma_dirs_get_ui_filerbuj1-6/+6
2020-12-24add show/hide line-numbers shortcut (ctrl+y)mbkma1-0/+4
2020-10-19Remove pluma-marshal.mbkma1-10/+5
These days we can use the automatic ffi marshalling. See: - https://developer.gnome.org/gobject/stable/gobject-Signals.html#g-signal-new - http://sourceware.org/libffi/ - https://gitlab.gnome.org/GNOME/gedit/-/commit/373adb7d041b0559953d0ac8cf2213ecc44db956
2020-10-04Use gtk_source_view_get_visual_columnmbkma1-19/+1
2020-07-29Port main program to GSettingsmbkma1-54/+104
Remove pluma_prefs_manager. Plugins were already ported to GSettings. Based on: https://gitlab.gnome.org/GNOME/gedit/-/commit/4215be0e8924f45170683493beaa2695e8e2e483
2020-03-14Remove warnings: cast between incompatible function typesrbuj1-2/+1
2020-01-11avoid to make new Gsettings variablesPablo Barciela1-17/+10
use Gsettings 'pluma_prefs_manager' instead
2019-10-19window: Do not override GdkWindowStateVictor Kareh1-1/+1
When setting the custom pluma window state we override the class method, but never defer back to the parent class method. This means that window states like backdrop are never set on Pluma.
2019-08-01pluma-window: avoid 'g_type_class_add_private'Pablo Barciela1-8/+2
2019-07-06Remove trailing whitespacesLaurent Napias1-307/+307
2018-12-06pluma-window: Fix memory leaksPablo Barciela1-2/+10
'g_strconcat' needs to be freed
2018-08-01add the option to hide the frist tab if there is only one tabPablo Barciela1-1/+14
2018-07-28pluma-window: make sure some resources are freedPablo Barciela1-2/+2
2018-07-28add the abbility to switch tabs using [ctrl+tab] and [ctrl+shift+tab]Pablo Barciela1-0/+29
If true the gsettings key "ctrl-tab-switch-tabs" into "org.mate.pluma" Closes https://github.com/mate-desktop/pluma/issues/211
2018-05-23pluma-window: use gtk_menu_popup_at_widget for GtkNotebookraveit651-18/+12
2018-05-23avoid deprecated 'gtk_menu_popup'Pablo Barciela1-6/+6
2018-02-23Make notebook tabs scrollablelikorisd1-1/+24
2018-02-08avoid deprecated GtkStockPablo Barciela1-6/+8
2018-01-30require GTK+ 3.22 and GLib 2.50monsta1-27/+0
2018-01-03drop unused variablesPablo Barciela1-12/+2
2017-12-20pluma-window: have GtkRecentData on stack instead of allocating itmonsta1-14/+10
adapted from: https://git.gnome.org/browse/gedit/commit/?id=cd9ed7b05eb0397ac3345d7e5177d2a112e7874b
2017-11-09[ctrl] + [+] / [ctrl] + [-] using the numeric keypadPablo Barciela1-2/+2
to increase/decrease font size related issue: https://github.com/mate-desktop/pluma/issues/224
2017-10-10[ctrl] + [+] / [ctrl] + [-] to increase/decrease font sizePablo Barciela1-0/+39
Closes https://github.com/mate-desktop/pluma/issues/224
2017-09-02add gsettings key to hide/show(default) tabs with the side paneZenWalker1-2/+6
2017-09-02Hide tabs if we are using the sidebarZenWalker1-0/+2
Fixes #23
2017-08-22gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+33
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window
2017-07-01enable the abbility to save the document if it was changed externallyZenWalker1-1/+7
This change is needed after https://github.com/mate-desktop/pluma/commit/2b34ed27ac4abde8d70735c008bd214a79b45491
2017-06-23disable the abbility to save the document if it has no changesZenWalker1-2/+14
this prevent us the write to disk uselessly Closes #199
2017-06-11tag-list-plugin: avoid deprecated GtkStockraveit651-1/+1
2017-05-12double click to the right of the last open tab to open a new tabZenWalker1-7/+12
New feature Fixes #185
2016-12-05port plugin system to libpeasmonsta1-21/+55
backported from gedit with a few changes upstream commits for reference: https://git.gnome.org/browse/gedit/commit/?id=dbc98da7fda69981e61c5764af50c72b756eb2cc https://git.gnome.org/browse/gedit/commit/?id=2ae732a53ef08145c06909dc675134573c8c2e6d https://git.gnome.org/browse/gedit/commit/?id=6cd4936fb3aa6ca44a7c85888c6aad6c02b0f983 https://git.gnome.org/browse/gedit/commit/?id=041399d3d09389f951af8db4f5b83d142a9ebe55 https://git.gnome.org/browse/gedit/commit/?id=da46f5d6cd9b727e23ec0ae79bb0a78419bb1363 https://git.gnome.org/browse/gedit/commit/?id=1d56b827f14096891bb03dbd5e8211fdad1331ad https://git.gnome.org/browse/gedit/commit/?id=e63de5a2396a56eeba46479a54628843538da29e
2016-12-01pluma-window: remove unused functionmonsta1-28/+0
2016-12-01fix some introspection warningsmonsta1-12/+12
2016-11-06move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-35/+4
2016-08-31GTK+-3 pluma-window: use gdk_device_get_positionraveit651-0/+11
taken from: https://git.gnome.org/browse/gedit/commit/?id=66ce4ca https://git.gnome.org/browse/gedit/commit/?id=c48ab83
2016-07-30GTK+-3 pluma-window: avoid deprecated gtk_[h|v]paned_newraveit651-1/+9
replace it with gtk_paned_new ()
2016-02-06GTK+3: add style class pluma-window and pluma-print-previewWolfgang Ulbrich1-0/+7
2016-02-01fix a few build warningsmonsta1-3/+3
2016-01-22Implement middle-click tab closing (#143)bl0ckeduser1-0/+7
2015-12-01GTK3: don't use deprecated gtk_{v/h}-boxWolfgang Ulbrich1-0/+4
2015-09-29capitalize Pluma in titles of main window and prefs windowmonsta1-5/+5
2015-09-05Fix up the docsinfirit1-5/+8
Taken from gedit, commit: 42a6a8d8d87f32572f56b56a9c4e92f7181d339a from: Garrett Regier <[email protected]>
2015-09-02drop support for win32/osx and checkupdate pluginmonsta1-107/+0
that plugin has never been built in linux anyway due to logic in configure.ac
2015-05-16switch to GtklLabel for statusbar buttons + remove non nedded resize-grip coderaveit651-3/+0
- fixes the large statusbar with GTK3 - remove extra resize-grip code, which is handle by gtk+ itself GTK2 builds displays the resize-grip without the extra code. Since GTK+-3.14 the rezise-grip widget is removed. - the size of the statusbar is now themable
2014-12-21fix one more memleakMonsta1-1/+1
2014-05-19Cleanup GTK_CHECK_VERSION and unify gtk+2/3 code where possibleinfirit1-8/+0
Replace functions available in gtk+2 and gtk+3 gdk_window_get_* | since 2.24 gtk_widget_get_allocation | since 2.18 gtk_widget_get_window | since 2.14 gtk_window_get_group | since 2.10 gtk_widget_get_mapped | since 2.20 gtk_widget_get_realized | since 2.20 gdk_window_get_display | since 2.24 Remove deprecated GtkNotebookPage and check.
2014-05-19Drop support for gtk+ < 2.24infirit1-30/+0
* Bump required gtk+2 version * Remove pluma-spinner * Remove pluma-message-are