Commit Graph

127 Commits

Author SHA1 Message Date
JosephMcc ea1f2055e7 xed-utils.h: Clean up code styling 2017-01-01 13:53:19 -08:00
JosephMcc 4ef02d4837 xed-utils: Clean up code styling 2017-01-01 13:31:02 -08:00
JosephMcc 55317e21b0 xed-window.c: Fix a few missing casts 2017-01-01 12:25:44 -08:00
JosephMcc d79bc79dbc notebooks: Don't show tabs when the notebook only has one page 2017-01-01 12:03:45 -08:00
JosephMcc 6e7586c654 xed-prefs-manager-app.c: Clean up an unused variable 2016-12-31 21:21:49 -08:00
JosephMcc 63f4658807 xed-pref-manager-app.c: Clean up code style 2016-12-31 21:21:06 -08:00
JosephMcc d80329db5c xed-notebook.c: Clean up the code formatting 2016-12-31 16:33:21 -08:00
JosephMcc 33f6b71eda xed-prefs-manager-app: Remove some leftover logging 2016-12-31 15:00:49 -08:00
JosephMcc 50c216b17b Allow scrolling on notebook tabs to change the active page
This is enabled by default but has a setting in the preferences so it can be
disabled.
2016-12-31 14:18:31 -08:00
JosephMcc 95a302a46f preferences-dialog: Clean up uses of GtkStock 2016-12-30 12:21:47 -08:00
JosephMcc 05738f44bb preferences-dialog: Clean up code styling 2016-12-30 11:54:48 -08:00
JosephMcc f3791ef8d2 Add view menu entry for word wrap
Adds an entry to the "View" menu that allows temporarily overriding the word
wrap settings in the preferences.
2016-12-30 03:17:05 -08:00
JosephMcc 94188504ab xed-statusbar: Clean up the styling a bit
Make sure the statusbar expands the full width of the window. Do a better job
of lining up buttons in the search and status bar as well.
2016-12-28 12:26:17 -08:00
JosephMcc 9c9e564ec1 Add a few style classes
This will allow themes a bit more control over the styling. Since you can no
longer select objects by class name in gtk version > 3.20 there is no other
easy way to theme these elements.

Added classes for "xed-window", "xed-searchbar", "xed-statusbar", and
"xed-panel" with additional classes of "side" and "bottom" for the panels
2016-12-28 11:44:35 -08:00
JosephMcc 5058c69288 xed-panel: Move the notebook tabs to the top 2016-12-27 11:44:05 -08:00
JosephMcc 4635766fc7 xed-panel: Simplify panel building a bit
Now that the panel headers are removed, we no longer need separate functions for
creating panels of different orientations
2016-12-27 01:30:36 -08:00
JosephMcc 6bc12a2be0 xed-panel: Remove the header and close button
Now that we have the buttons on the statusbar for opening and closing the side
and bottom panels, we don't really need these anymore
2016-12-27 01:11:19 -08:00
JosephMcc 5d258f1e67 xed-window: Stop using deprecated (v/h)box 2016-12-27 00:17:15 -08:00
JosephMcc c78bf46d38 Add buttons to the statusbar to show/hide the panels 2016-12-26 23:43:42 -08:00
JosephMcc 26f8139317 xed-panel: Clean up the layout of the panels
Make sure the bottom panel lays out properly when we actually have a plugin that
lives there
2016-12-26 19:32:38 -08:00
JosephMcc f314622cf0 Remove old plugin system and docs for it
Adapted from:
3860e7b99f (diff-c949f93d03f44a4217d7a138f9e2e54a)
2016-12-26 18:49:12 -08:00
JosephMcc b52cc3f037 Port plugin system to libpeas
Adapted from:
52fd78ddfc
2016-12-26 12:53:23 -08:00
JosephMcc 29f0acc0d6 Drop some leftover 2.xx comments from gnome/pluma 2016-12-26 11:53:22 -08:00
JosephMcc ae4b648a79 xed-window: Remove an unused function 2016-12-26 11:49:28 -08:00
JosephMcc 8cb1a6dad8 Remove a couple of invalid annotations 2016-12-26 11:44:21 -08:00
JosephMcc 7a6db1f8c5 Fix some introspection warnings
Adapted from:
b9a3360ee8
2016-12-26 11:41:29 -08:00
JosephMcc c6f5fd5e1d build GObject introspection data
Adapted from:
a4dcd9177a
0488ffe5d2
2016-12-26 10:56:42 -08:00
JosephMcc cab79801ca plugins: Drop support for old style python plugins
All the the old python plugins have already been removed. Remove a bunch of the
other related cruft since we want to port the plugin system to libpeas

Taken from 65371f53db (diff-2bbd410468516599f21e84fecb500348)
2016-12-25 14:24:00 -08:00
JosephMcc 6893642b16 xed-panel: Clean up code formatting 2016-12-25 12:42:36 -08:00
JosephMcc d091965175 xed-io-error-message-area: Fix up some deprecations 2016-12-25 12:42:36 -08:00
JosephMcc a5c62d2380 xed-io-error-message-area: Clean up code styling 2016-12-25 12:42:36 -08:00
JosephMcc e9834c0883 xed-message-bus: Clean up an unused variables 2016-12-25 12:42:36 -08:00
JosephMcc 2bf076e7c5 xed-message-bus: Clean up code styling 2016-12-25 12:42:36 -08:00
JosephMcc 909ea55a7c xed-documents-panel: Remove an unused variable 2016-12-25 12:42:36 -08:00
JosephMcc 76ce469bfa xed-documents-panel: Cleanup code styling 2016-12-25 12:42:36 -08:00
JosephMcc 21f524a7b3 xed-document: Remove use of deprecated gdk_color_parse 2016-12-25 12:42:36 -08:00
JosephMcc 3aa6f847d9 xed-document: Clean up code style 2016-12-25 12:42:36 -08:00
JosephMcc ee841c1015 xed-commands-search: Fix some missing casts 2016-12-25 12:42:36 -08:00
JosephMcc 2a93bcbb6d xed-app: Remove an unused variable 2016-12-25 12:42:36 -08:00
JosephMcc fb84d4bfc7 xed-app: Clean up code styling 2016-12-25 12:42:36 -08:00
JosephMcc 7417c54a94 xed-commands-file: Clean up deprecations 2016-12-25 12:42:36 -08:00
JosephMcc c50299ec32 xed-commands-file: Clean up code styling 2016-12-25 12:42:36 -08:00
JosephMcc 71306fa224 xed-encodings-combo-box: Clean up code styling 2016-12-25 12:42:36 -08:00
JosephMcc f1c1e6c689 xed-encodings-dialog: Clean up some deprecations 2016-12-25 12:42:36 -08:00
JosephMcc c801604a2c xed-encodings-dialog: Clean up code styling 2016-12-25 12:42:36 -08:00
JosephMcc 41162911b2 close-confirmation-dialog: Clean up some deprecations
We're stuck with a couple uses of gtk_misc_* for now until we can move to a
newer minimum version of gtk3.
2016-12-25 12:42:36 -08:00
JosephMcc 2ab142b094 close-confirmation-dialog: Clean up code styling 2016-12-25 12:42:36 -08:00
Clement Lefebvre 708d79dbf8 Search: Don't jump to the next result when toggling search options 2016-12-16 21:35:41 +00:00
Clement Lefebvre d890aaf565 Search: Perform a search when case-sensitive or entire-word buttons are clicked 2016-12-05 11:25:59 +00:00
Clement Lefebvre 615ae47272 Search: Fix search jumping to next result while typing 2016-12-05 11:17:24 +00:00
JosephMcc 0f1de23d7f searchbar: Make sure we clear highlighting when the last character is removed
We need to call do_find() even if we just backspaced the last character out of
the search entry. This ensures all highlighting gets removed from the document.
2016-11-28 15:07:57 -08:00
JosephMcc aa31c09fc7 searchbar: Add a close button
Currently there is no clear way to close the searchbar. Add a simple small close
button to make this easier.
2016-11-28 14:23:27 -08:00
Clement Lefebvre bc250a48fd l10n: Improve some of the new msgids 2016-11-02 18:14:20 +00:00
Clement Lefebvre 4e1a63347a Merge pull request #43 from JosephMcc/notebook-button
xed-close-button: Convert to using a symbolic icon
2016-10-07 11:22:32 +01:00
Clement Lefebvre cfd631779e Merge pull request #42 from JosephMcc/fullscreen-tabs
ui: Don't hide the main notebook tabs in fullscreen
2016-10-07 11:22:22 +01:00
JosephMcc 1e9f14ebee xed-close-button: Convert to using a symbolic icon
Also remove some use of deprecated GtkRcStyle
2016-10-06 11:39:05 -07:00
JosephMcc 14c5bc1a99 ui: Don't hide the main notebook tabs in fullscreen
Not sure why this was being done but keep the open tabs visible when swithcing
to fullscreen so you can still access all open tabs
2016-10-06 11:20:12 -07:00
JosephMcc 2ecb36178a prefs: Remove now unused toolbar style prefs
We no longer set a toolbar button style so remove some of the left over code for
handling it.
2016-10-06 10:33:53 -07:00
JosephMcc 46c8d8adc8 ui: Convert the remaining actions to use symbolic icons
With the toolbar icons converted to symbolic icons we now have a mix of symbolic
and non-symbolic icons in the menu since they share the same GtkAction's.
Convert the remaining actions along with a couple that are placed in the menu
by plugins to use symbolic style icons.
2016-10-05 12:20:30 -07:00
JosephMcc 94dae95b95 toolbar: Revamp the main toolbar style
Get rid of the text and switch all icons to slightly smaller symoblic icons.
This will allow it to behave much better with dark gtk themes. Replace the
recent documents button with a button for file open. Changing the style of
the buttons on the main toolbar also effects the fullscreen toolbar so
update this as well to use a matching layout.
2016-10-04 11:32:30 -07:00
Clement Lefebvre 26d0ac85a0 Reformated code to conform to Mint coding style
As discussed within the team.
2016-09-21 13:44:19 +01:00
Clement Lefebvre f4236351ae Give Xed a Sublime-like searchbar
The search dialog is replaced with a searchbar similar to the one used in Sublime.

The following features are implicit and therefore removed:
  - "incremental search"
  - "remove highlights"
  - "parse \n characters"

Code style is applied to impacted files (should have been done in a separate commit but it was being discussed during WIP and the new committed code followed neither the new style nor the old).
2016-09-20 16:32:54 +01:00
Clement Lefebvre c8f0c14add Toolbar: Don't emphasize toolbar items (save, open, undo) 2016-08-19 10:44:43 +02:00
Clement Lefebvre c8ef96a94d When running as root, add an infobar to warn about Elevated Privileges 2016-08-18 20:09:35 +01:00
Clement Lefebvre 6cb2e56365 Revert "Fixed some UI elements not localized"
This reverts commit 2dbb1bea6b.
2016-08-18 14:42:01 +02:00
Clement Lefebvre 2dbb1bea6b Fixed some UI elements not localized 2016-08-17 17:28:36 +02:00
Michael Webster 78080f80bb xed-notebook.c: check vertical mouse position when determining
whether a tab is being manipulated.  We were just checking
horizontal position, which meant that depending on where you start
a drag-and-drop, it might think you're trying to drag a tab instead,
causing undesirable behavior.
2016-06-22 18:08:19 -04:00
Clement Lefebvre 6f4eefe1e4 Use Ctrl+Y for Redo 2016-03-04 16:52:26 +00:00
Clement Lefebvre 5716a01447 Merge pull request #13 from JosephMcc/notebook-shadow
notebooks: Remove the extra frame from the main and documents panel s…
2016-03-03 15:21:30 +00:00
JosephMcc 7d7249aefb notebooks: Remove the extra frame from the main and documents panel scrolled windows 2016-02-23 03:46:25 -08:00
itzexor 60504dac90 xed-close-confirmation-dialog: fix scrolledwindow minimum height 2016-02-20 16:05:49 -08:00
JosephMcc b084e7b4c6 gtk: We're targeting gtk3.10 so clean up all the gtk version checks and go with that 2016-02-14 14:47:56 -08:00
Clement Lefebvre d1cc738f54 GTK 3.10 compatibility 2016-02-10 15:30:31 +00:00
Sorokin Alexei fc63ede018 Warnings fixes 2016-02-10 16:19:23 +03:00
Sorokin Alexei ee18f17330 Remove MATE leftovers 2016-02-10 16:19:07 +03:00
monsta 61ad45a01a fix a few build warnings 2016-02-10 16:15:50 +03:00
Clement Lefebvre 16eacdc3f4 Renamed Xedit -> Xed (avoid name clash with x11-apps's xedit) 2016-02-04 09:20:42 +00:00