summaryrefslogtreecommitdiff
path: root/pluma/pluma-app.c
AgeCommit message (Collapse)AuthorFilesLines
2021-03-02code formating fixesmbkma1-479/+473
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-10/+43
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
2020-07-29Port main program to GSettingsmbkma1-5/+28
Remove pluma_prefs_manager. Plugins were already ported to GSettings. Based on: https://gitlab.gnome.org/GNOME/gedit/-/commit/4215be0e8924f45170683493beaa2695e8e2e483
2020-06-16Remove warning ‘GTimeVal’ is deprecatedrbuj1-6/+2
2020-06-13add support for waylandmbkma1-3/+10
2019-07-12pluma-app: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2018-09-16fix a few introspection and doc warningsraveit651-1/+1
2017-12-17WidthOfScreen and HeightOfScreen implementationPablo Barciela1-2/+2
This commit reverts: https://github.com/mate-desktop/pluma/commit/5bece5503aba40119eea2e2d5e18f219749472be And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height
2017-11-15make sure pluma open in the same window of the workspacePablo Barciela1-19/+0
there is only one screen, this code can be removed Fixes https://github.com/mate-desktop/pluma/issues/261
2017-08-12avoid deprecated gdk_screen_get_width/heightZenWalker1-2/+2
2017-07-13avoid deprecated gdk_display_get_screen and gdk_screen_get_numberZenWalker1-2/+3
2016-12-01fix some introspection warningsmonsta1-4/+4
2015-09-05Fix up the docsinfirit1-4/+7
Taken from gedit, commit: 42a6a8d8d87f32572f56b56a9c4e92f7181d339a from: Garrett Regier <[email protected]>
2015-09-02drop support for win32/osx and checkupdate pluginmonsta1-12/+0
that plugin has never been built in linux anyway due to logic in configure.ac
2014-05-19Cleanup GTK_CHECK_VERSION and unify gtk+2/3 code where possibleinfirit1-4/+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.
2013-10-30pluma: Add GTK3 supportStefano Karapetsas1-1/+1
2013-01-24Migrate pluma to GSettingsStefano Karapetsas1-1/+1
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2012-03-11update for 1.2 release and fix executable bitsStefano Karapetsas1-0/+0
2011-11-07renaming from gedit to plumaPerberos1-0/+911