Commit Graph

75 Commits

Author SHA1 Message Date
Patrick Monnerat f6d7a422f3 Fix issue#100: CRLF across 8k boundary inserts an empty line. 2015-09-02 11:34:01 +02:00
infirit bdfc07a804 Remove unused reset_im_context function
Builds now with GSEAL_ENABLE
2015-08-03 21:39:19 +02:00
infirit ee8ed9307b Fix implicit declarations 2015-08-03 21:32:35 +02:00
Monsta 743994aee9 remove excessive include 2015-08-03 18:20:08 +03:00
Monsta 79c3e28490 drop gdkkeysyms-compat usage, use modern key names 2015-08-03 18:04:03 +03:00
monsta e75584f2e6 close confirmation dialog: make text unfocusable
adapted from
https://git.gnome.org/browse/gedit/commit?id=08f0c2629d0bf4f795a71826526624d96127c23e
2015-07-14 13:00:39 +03:00
Monsta 4fd8549850 window title: display full path to files on mounted drives
when opening a file on some mounted drive (local harddisk, usb flash drive, etc.),
pluma now displays full path to file in the window title. previously it displayed
only the mount name (like "100 GB Volume").

adapted from:
https://git.gnome.org/browse/gedit/commit?id=c59e67e27ea11c6756c7291236338fcf44f24c73

credits to @jsenin for https://github.com/mate-desktop/pluma/pull/108
2015-07-14 11:01:41 +03:00
Monsta bdb0ef751e show correct help pages for prefs and plugins dialogs 2015-07-08 12:42:59 +03:00
raveit65 627201d5a0 GTK3: remove the top and bottom margin from GTKToggleButton in statusbar
- this makes the statusbar smaller and follows GTK2 style
2015-05-16 22:09:32 +02:00
raveit65 e1b2a4e298 switch to GtklLabel for statusbar buttons + remove non nedded resize-grip code
- 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
2015-05-16 22:05:55 +02:00
Monsta 6eea6bc057 fix one more memleak 2014-12-21 14:41:25 +03:00
Monsta d01f58c9f7 don't leak memory 2014-12-19 13:56:35 +01:00
Monsta 4a79fb544f zero-initialize all signals arrays 2014-12-19 13:56:35 +01:00
infirit 65f91807ca Revert "Revert "Drop support for glib < 2.36""
This reverts commit 13392e50c6.
2014-12-16 13:05:53 +01:00
infirit e8cbf00e56 Revert "Drop support for Glib <2.32"
This reverts commit e9a0c53bdb.
2014-12-16 13:05:42 +01:00
infirit e9a0c53bdb Drop support for Glib <2.32 2014-12-16 12:38:51 +01:00
infirit 13392e50c6 Revert "Drop support for glib < 2.36"
This reverts commit 495f56659d.
2014-12-16 12:37:53 +01:00
monsta 6749c36f9d va_start should be paired with va_end
Closes https://github.com/mate-desktop/pluma/pull/101
2014-11-27 14:38:42 +01:00
infirit ca9fdb4cef Remove has_separator property from gtkbuilder files 2014-05-19 20:57:49 +02:00
infirit 3fc6d6c429 Cleanup GTK_CHECK_VERSION and unify gtk+2/3 code where possible
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-19 20:57:49 +02:00
infirit 36a55c5f8e Use GSourceFunc also for gtk+-2 2014-05-19 20:57:49 +02:00
infirit 1bfcadb0c0 Unify search GtkComboBox so it work in gtk+-2 and gtk+-3 2014-05-19 20:57:25 +02:00
infirit cc28312a3f Drop support for gtk+ < 2.24
* Bump required gtk+2 version
* Remove pluma-spinner
* Remove pluma-message-are
2014-05-19 18:37:37 +02:00
infirit 51291bf1b2 Replace deprecated gtk widget function
The replacement functions are available since 2.18
GTK_WIDGET_HAS_FOCUS -> gtk_widget_has_focus
GTK_WIDGET_VISIBLE -> gtk_widget_get_visible
GTK_WIDGET_SET_FLAGS -> gtk_widget_set_*
2014-05-19 18:37:37 +02:00
infirit 53be5f994d Replace GtkObject with Gobject in gtk+2 build 2014-05-19 18:37:37 +02:00
infirit b3097ad42b Remove all calls to deprecated gtk_dialog_set_has_separator 2014-05-19 12:54:08 +02:00
infirit 495f56659d Drop support for glib < 2.36 2014-05-19 12:46:54 +02:00
Stefano Karapetsas 0768242dc4 Use MateAboutDialog from libmate-desktop 2014-04-29 20:45:38 +02:00
Stefano Karapetsas 5daa5b4fe5 GTK3: file-system-backend property is removed 2014-04-29 20:22:15 +02:00
bl0ckeduser 4b130a9016 Fix for #46 (GTK3 missing filename file in save as) 2014-04-29 19:41:57 +02:00
Stefano Karapetsas 9e01bddf6b Fix go to line crash after GTK3 support adding
Closes https://github.com/mate-desktop/pluma/issues/75
2014-03-21 15:55:04 +01:00
Ryan Q 337349ae27 convert pluma.rc to LF line endings (currently CR+LF) 2014-03-05 07:32:37 -08:00
Ryan Q 2ddfede0dc remove needless whitespace from pluma/plumatextregion.c 2014-03-02 14:53:55 -08:00
infirit d30af5ce18 Change file enciding to utf-8 (close #65) 2014-02-22 17:36:10 +01:00
Martin Wimpress ef20034174 Corrects a typo. Fixes #63. 2014-02-21 11:25:58 +00:00
Stefano Karapetsas 9e75f79b75 Dont free string owned by glib
Regression caused by 86369deb93
Closes https://github.com/mate-desktop/pluma/issues/60
2014-02-17 10:35:24 +01:00
Stefano Karapetsas 6996153b65 Fix pluma_dirs_get_user_accels_file
And free always config_dir
2014-02-17 09:42:31 +01:00
Stefano Karapetsas 38f6f2b09c Remove support for never existed env var 2014-02-17 09:35:20 +01:00
Stefano Karapetsas 928082bef8 Merge branch 'master' of github.com:mate-desktop/pluma 2014-02-17 09:30:06 +01:00
infirit 24c8142ce7 remove mate-text-editor symlink 2014-02-13 18:09:14 +01:00
Stefano Karapetsas 879dbc0ccd MATE Foundation doesnt exist 2014-02-12 13:52:30 +01:00
Stefano Karapetsas 7ac38aa3a9 Add missing include for GTK3
Patch by Benjamin Denisart
2014-02-03 18:16:42 +01:00
infirit 86369deb93 Move user plugins dir to data_dir
Plugins don't belong in config_dir so we move them to data_dir.
User will need to move the plugin dir to the new location, see NEWS.
2014-01-16 00:54:52 +01:00
infirit bacead2866 pluma-dirs: Fix accel file location 2014-01-16 00:47:28 +01:00
infirit 2cfd8639d0 plumadirs: Cleanup config dir usage
Remove backwards compatibility for < glib 2.6 as we require glib 2.22 at
a minimum now.
Use g_get_user_config_dir instead of custom logic.
Use pluma_dirs_get_user_config_dir in pluma_dirs_get_user_accels_file.
2014-01-16 00:41:55 +01:00
infirit af3a5d1f69 add the primary-toolbar style class to the primary toolbar 2013-11-06 16:23:50 +01:00
Stefano Karapetsas cc5426de20 Fix search fields in GTK3 2013-11-06 01:22:15 +01:00
Stefano Karapetsas 76265841b7 Fix some deprecations 2013-11-04 12:46:45 +01:00
Stefano Karapetsas bdec76d8f1 Merge pull request #24 from bl0ckeduser/master
Fix search/replace of strings containing backslashes
2013-11-04 02:26:08 -08:00
Stefano Karapetsas a7ce13a186 Add gtksource.h include for GTK3 2013-10-30 17:27:33 +01:00