71 Commits

Author SHA1 Message Date
Colomban Wendling
1cea0b6a79 Merge pull request #411 from techee/shadows
Use consistent shadows across Geany
2015-03-26 22:53:29 +01:00
Jiří Techet
1a36eeaf4d Use consistent shadows across Geany
In principle, any scrolled window should have GTK_SHADOW_IN so the scrollbars
are not above the surface and there is a frame around the scrolled area.

The only exception are the elements of the main window where adding
GTK_SHADOW_IN causes there are too many shadows (or lines in 2D themes)
around the windows and the result isn't nice. So use GTK_SHADOW_NONE
for all main editor scrolled windows. (One additional exception is the
Help->Credits page which is gray and the extra frame doesn't look good.)

Replace frame around VTE with GtkViewport to avoid the extra line around.

Raise the second editor from the splitwindow plugin so it's at the same
level as the main editor.
2015-03-22 15:32:54 +01:00
Colomban Wendling
93c217aae9 Merge pull request #412 from techee/rules_hint
Disable "rules hint" for the Documents tab
2015-03-06 01:47:42 +01:00
Jiří Techet
8d19ea4c9f Disable "rules hint" for the Documents tab
The "rules hint" property is used to tell the theme for which TreeView
even/odd rows should have a different color. This is typically used for
long rows or rows which need to be visually separated for some reason.

Currently the Documents sidebar view uses it which doesn't make much
sense because the row is short and neither of the other tabs in the sidebar
use it.
2015-03-05 10:21:11 +01:00
Colomban Wendling
b2e5d08dad Spell "Windows" as "Windows", not "Win"
This makes the labels more clear using the canonical name, and avoids
any confusion with the English word "win".
2015-02-10 17:15:38 +01:00
Colomban Wendling
e9c9e9a2fa Merge pull request #396 from techee/osx
OS X improvements
2015-02-10 17:12:30 +01:00
Jiří Techet
6a132ef3fa CR line endings are used on old Mac OS systems only - make it more explicit in labels
Also don't default to CR if OS is neither Windows nor Unix (including OS X).
There's no other GTK backend right now so it doesn't matter much but
still if something else appears, it will most probably not have CR line
endings.
2015-02-10 15:57:50 +01:00
Colomban Wendling
d48859db8e Drop useless scrolled window around the message window notebook 2015-01-02 19:48:06 +01:00
Jiří Techet
b864733cdb Avoid double-shadow around message window
Message window should be at the same level as the sidebar and editor.
Instead, it is 2 shadows deeper. Fix that.
2015-01-02 10:15:08 -08:00
Enrico Tröger
fea71a282f Allow MRU file list length to be set to 0 to disable it
Since the rest of the code is already prepared for it, setting mru_length
to 0 just disables the recent files menu.
2014-11-09 11:22:16 +01:00
Nick Treleaven
e566aae6b2 Add project prefs for line breaking column & multiline comments 2014-10-03 12:25:05 +01:00
Tim Tassonis
cb2aebcfd9 Enable per-project line wrapping 2014-09-29 16:12:55 +01:00
Colomban Wendling
0b32227bf0 Don't manually connect handlers Glade can connect for us
Don't bother manually connecting handlers that Glade can connect for us
just as well.
2014-06-24 18:15:46 +02:00
Colomban Wendling
4adbd50880 Remove some empty table rows and columns from the Glade file
Cleanup some useless placeholders, and replace some one-column tables
with vertical boxes.

No UI changes.
2014-05-27 15:53:32 +02:00
Colomban Wendling
73a1589618 Remove empty table rows in the Glade file
This avoids glade from emitting some useless placeholders.
No UI changes.
2014-05-26 18:11:58 +02:00
Colomban Wendling
f3d96ef91d Re-generate with Glade 3.8.5
3.8.5 is supposed to fix the unstable file output, hopefully making
further edits generate small diffs, not rearranging the whole file for
no good reason.

Note that this commit may introduce UI problems if the output actually
isn't equivalent, the diff making it nearly impossible to review
manually.  Keep an eye open for such problems.
2014-05-15 03:13:11 +02:00
Colomban Wendling
1e50962de2 Fix some conflicting mnemonics in the menus 2014-05-05 05:09:13 +02:00
Matt Copperwaite
e61bba1bc3 Reword "replace by tabs/spaces" as "replace with" 2014-05-05 05:09:13 +02:00
Frank Lanitz
2b1616d829 Update tooltip string for check_cmdline_new_files 2014-05-01 00:21:19 +02:00
Frank Lanitz
95306ac8db Try to fix some duplicated accelerators inside Edit->Commands 2014-05-01 00:07:23 +02:00
Colomban Wendling
aeab183ef2 Merge branch 'unified-encoding-combo-boxes' 2014-04-15 15:57:13 +02:00
Colomban Wendling
8c5e198cf1 Unify encoding combo boxes
Make all encoding combo box display a list with encodings grouped by
categories into sub-menus, making it easier to find the appropriate
encoding than in a big single-level list.

This is what was used in the Open dialog, but not in the Preferences
dialog or the Find in Files dialog.  This also makes the encoding
combo boxes behave more like the encoding menus.
2014-04-15 15:51:49 +02:00
Steven Valsesia
1d0fc64ce8 Add the choice to use Windows or Gtk color chooser dialog
Modification of the string "Use Windows File Open/Save dialogs" to
"Use Windows native dialogs".

Signed-off-by: bestel <steven.valsesia@gmail.com>
Signed-off-by: Colomban Wendling <ban@herbesfolles.org>
2014-03-30 20:40:12 +02:00
Colomban Wendling
7c6f48e4f5 Workaround a slowness in multi-column combo boxes under GTK3
Always set the combo boxes' wrap-width after their models are fully
filled to work around dramatic slowness described in GTK bug
https://bugzilla.gnome.org/show_bug.cgi?id=722388
2014-01-18 03:13:05 +01:00
Colomban Wendling
1a5554c41c Add our stock icons manually
Although GtkIconFactory implements GtkBuildable properly and works just
fine, Glade can't handle it and keeps removing it upon save.  So, drop
the automatic setup to a manual one so the UI description is editable
with Glade again, and which also has the small advantage of not
repeating the stock ID strings.
2014-01-10 18:33:04 +01:00
Colomban Wendling
ca404a01d4 Don't mark as translatable strings that are never visible
In the file properties dialog there are a few label for which the
default value is never visible to the user, and then don't need to be
translated.  These strings are only useful to recognize and select the
label in e.g. Glade UI.
2013-05-22 15:52:39 +02:00
Colomban Wendling
72c809f633 Use Glade to create the File Properties dialog 2013-05-20 04:12:44 +02:00
Colomban Wendling
9652a34ef0 Add ellipsis to menu items requiring further user input
This is a very common paradigm used by GNOME, KDE, MacOSX, Windows,
etc., and following it makes our UI more consistent with these and
easier to use by their users.

https://developer.gnome.org/hig-book/stable/menus-design.html.en#menu-item-type-command

Closes #3613494.
2013-05-19 23:15:38 +02:00
Colomban Wendling
cd390c0d48 Fix some widgets packing issues under GTK3 in the preference dialog 2013-05-15 18:25:08 +02:00
Matthew Brush
1ee35c68cd Flatten-out the View menu
Rationale:
----------
* Existing View menu already contained Editor-related options
  like "Change Font" and Zoom controls, so it makes sense to
  group all of the View-related items together.
* Anecdotally, some users have been unable to easily discover
  the Color Schemes changer dialog because it was nested under
  a submenu.
* Distinction between "Editor" (Scintilla) and "Editor" (All
  of Geany) is likely non-obvious to most users, especially
  new users exploring the menus.
* There's not very many items to cause scrolling on low-res
  monitors, and the View menu still has less items than the
  Document menu.
2013-04-26 16:13:46 -07:00
Colomban Wendling
0191659663 Fix swapped tooltips between "run in VTE"/"skip run script" 2013-03-24 15:38:30 +01:00
Christian Dywan
1db4cd90df Drop obsolete 'has_separator' property from the interface definitions 2013-03-17 17:17:09 +01:00
Lex
7d6ad6d50f Merge branch 'master' of https://github.com/geany/geany 2013-02-21 13:05:54 +11:00
Lex
5df79bc135 Adjust Terminal tooltip in preferences
Adjust to say it is a full command and that %c is substituted by
the geany_run_script path.
2013-02-21 12:42:30 +11:00
Colomban Wendling
dba93f3854 Allow Quit keybinding to be configured
This removes the last unmodifiable keybinding relying on GTK's
defaults, and allows somebody to change this keybinding.
2013-02-21 01:31:38 +01:00
Colomban Wendling
a0dc8af9c4 Fix GTK default keybindings being still active after being unbound
If we provide an AccelGroup when creating a menu item using a sock ID,
it installs the GTK default accelerator, accelerator we can't remove
since we don't know about it.  So, don't give an AccelGroup so GTK
don't install it's own accelerator.

This fix also required to properly update the accelerator on some item
we used to ignore since the update didn't work anyway (since the GTK
accelerator was displayed instead).

Note that this doesn't fix the fact the editor popup menu accelerators
are never updated after startup so they don't get updated before
restart after changing a keybinding in the preferences.  This is a
separate (and less problematic) issue due to a simple lack of update.

Closes #1912683 and #3599251.
2013-02-21 01:31:38 +01:00
Matthew Brush
adfc0985db Merge branch 'krofna/master' 2013-01-06 19:11:17 -08:00
Colomban Wendling
dabae1f94f Replace images embedded in the sources with proper themable icons
Additionally, provide SVG versions of the icons as well as them
rendered at the various icons sizes.
2013-01-01 19:10:48 +01:00
Colomban Wendling
bd02c009a1 Use the Geany icon from the theme everywhere 2013-01-01 19:10:04 +01:00
Mislav Blažević
15fddad323 Implement terminal background image 2012-12-18 12:19:53 +01:00
Nick Treleaven
0b63957e59 Add 'Move Line(s)' menu items in Edit->Commands (and popup menu)
Although using menu items for these is not very practical, it helps
discoverability, and they're more useful and intuitive than 'Transpose
Current Line'.
2012-11-23 16:30:18 +00:00
Nick Treleaven
85006b6d0b Add 'Document->Clone' menu command
This copies the current document text and properties into a new
document, similar to the old Save As 'Open file in a new tab'
option, but easier to understand and decoupled from saving.

One notable difference is that the new document does not copy the
filename - the old behaviour was confusing and error-prone for the
user (e.g. editing two documents with the same filename).
2012-11-23 15:37:00 +00:00
Frank Lanitz
3f7eec5910 Fix a typo insode geany.glade 2012-11-19 22:38:45 +01:00
Colomban Wendling
64a47b9cb6 Allow to switch message window orientation to place it on the right 2012-10-01 21:38:56 +02:00
Matthew Brush
cfdedf4e67 Remove sentence from documentation that doesn't apply anymore
With newer GTK+ releases, leaving this field blank causes the "Recent
Files" "feature" to be used rather the the expected current working
directory. No replacement text added to explain the new behaviour since
it would be incorrect with older GTK+ versions, would likely be incorrect
on Windows with native dialogs and it will possibly be reverted in GTK+
in the future.

Recenerate HTML manual, including previous changes from other commits.
2012-06-04 14:07:41 -07:00
Colomban Wendling
262b48b52c Add a separator after the Color Schemes menu item 2012-05-27 01:14:25 +02:00
Colomban Wendling
e87f393192 Create color scheme menu item with Glade
Now there is a dialog instead of a menu for selecting the color
schemes, the item under View->Editor can be created with Glade like the
rest of the menu.
2012-05-27 01:14:25 +02:00
Matthew Brush
d7d5a6d7fb Add some more key links to the Help menu (wiki, bug tracker, donate) 2012-02-26 20:19:17 -08:00
Colomban Wendling
9031335971 Set prefs' encoding combo boxes "wrap with" in the Glade file directly 2012-01-20 19:31:57 +01:00
Colomban Wendling
7f16b9a4fb Fix content of encodings and EOL style prefs ComboBoxes (oops)
I broke them in ca922e0ddc8022283ec3c1f49aaa15ab7c5ba213

Now the two encoding combo boxes shares the same data, which is
built only once.
2012-01-20 19:28:35 +01:00