Commit Graph

91 Commits

Author SHA1 Message Date
Wolfgang Ulbrich f2c09bf972 Gtk+-3.10: don't use deprecated GTK_STOCK_DIALOG_WARNING/ERROR 2015-12-01 23:13:02 +01:00
Wolfgang Ulbrich a08bd0ed2f GTK3: don't use deprecated gdk_threads_{enter/leave} 2015-12-01 22:46:55 +01:00
Wolfgang Ulbrich 6454339a1a Gtk+-3.14: don't use deprecated GtkMisc 2015-12-01 22:43:09 +01:00
Wolfgang Ulbrich dc6b2065db GTk3: don't use deprecated GTK_TYPE_{V/H}BOX 2015-12-01 22:31:33 +01:00
Wolfgang Ulbrich 9994dd399a GTK3: don't use deprecated gtk_{v/h}-box 2015-12-01 22:31:33 +01:00
Monsta 125169f8cb fix build breakage introduced in last commit
also see 37abef2d6b
2015-11-22 10:13:32 +03:00
Wolfgang Ulbrich b40b78a7cb add a configure option to build pluma with --without-matedesktop
- about-dialog use GtkAbout instead of MateAbout in this case
- this makes transition to gtk3 more simple
2015-11-18 14:58:13 +01:00
Monsta 385ec7a3f0 GTK+3: work with "draw" signal instead of "expose" in print preview
adapted from
https://git.gnome.org/browse/gedit/commit?id=9453de86abac1cf1bf4702091944301ac800bdef

fixes https://github.com/mate-desktop/pluma/issues/47
2015-11-02 14:47:56 +03:00
Patrick Monnerat 90fa9b31bb Flush document output data at EOF before determining the loader newline type.
Failure to do so fails determining the newline type for a single line ending
with CR.
2015-10-13 14:07:00 +02:00
Patrick Monnerat 43903ad12b CRLF across 8k boundary inserts an empty line.
fixes issue#100

This introduces buffering of a trailing, non-leading CR for each buffer
passed to pluma_document_output_write(), for later possible recombination into
a CRLF.
Since this buffering has to be flushed at EOF, a flush method has been added to
the class. It is implicitly called at document close time.
2015-10-13 14:05:36 +02:00
monsta 4299e647a7 capitalize Pluma in titles of main window and prefs window 2015-09-29 09:58:51 +03:00
monsta 8c43c2cfdc capitalize Pluma in about dialog 2015-09-28 17:58:33 +03:00
infirit 3d9e640cc4 Fix up the docs
Taken from gedit,
commit: 42a6a8d8d87f32572f56b56a9c4e92f7181d339a
from: Garrett Regier <alias301@gmail.com>
2015-09-05 21:46:09 +02:00
Monsta 10ab67cc2c smclient: drop unneeded 'x' attribute from source files 2015-09-04 11:50:51 +03:00
infirit ab31ab9b12 Revert "Fix issue#100: CRLF across 8k boundary inserts an empty line."
This reverts commit f6d7a422f3.
2015-09-02 11:51:13 +02:00
monsta b24934e186 drop support for win32/osx and checkupdate plugin
that plugin has never been built in linux anyway due to logic
in configure.ac
2015-09-02 11:34:01 +02:00
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