51 Commits

Author SHA1 Message Date
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
Nick Treleaven
21cd7bb213 Add Project overrides for 'Saving files' checkbox options 2012-01-19 18:17:12 +00:00
Nick Treleaven
75ff98a2b6 Regenerate with Glade 3.8.1 2012-01-19 18:17:11 +00:00
Nick Treleaven
6f64f31e09 Make Glade object names unique throughout
This fixes object name clashes when making changes using Glade 3.8.1 (maybe a Glade bug).
2012-01-19 18:15:26 +00:00
Colomban Wendling
73bc824c82 Restore line breaking preference's adjustment in Glade file
It got removed by accident in commit
c85b89afdd880b7a6aac42f953bab83d3938a4a3 "Port more of the Project properties dialog to Glade"
2012-01-14 04:40:11 +01:00
Colomban Wendling
380613866c Restore accelerator group in Glade file
It got removed by accident in commit
c85b89afdd880b7a6aac42f953bab83d3938a4a3 "Port more of the Project properties dialog to Glade"
2012-01-14 04:27:27 +01:00
Matthew Brush
0755b44db1 Merge branch 'project-dialog-fix' 2012-01-08 15:58:37 -08:00
Colomban Wendling
ca922e0ddc Remove duplicated lists and name them more sensibly 2012-01-08 23:22:50 +01:00
Colomban Wendling
2077347b34 Remove empty rows at the end of some lists 2012-01-08 23:22:37 +01:00
Colomban Wendling
aa96bc2cbf Add missing ComboBox cell renderers in Glade rather than manually
This also fixes the duplicated renderers when there was already one
in Glade, and a second one got added manually.
2012-01-08 22:55:28 +01:00
Matthew Brush
c85b89afdd Port more of the Project properties dialog to Glade
Fixes issue where dialog was being destroyed and would not show 2nd time.
2012-01-08 11:24:21 -08:00
Colomban Wendling
23eede5291 Make switch to MRU upon tab close configurable
Add configuration option tab_close_switch_to_mru to allow the user
to choose whether to switch to the most recently used tab or to the
next one after closing the current tab.
2011-12-24 12:30:58 +01:00
Matthew Brush
aaa62c39b4 Make editor menu initially hidden
Without this the menu won't emit the show signal the first time it's shown.
2011-12-18 18:47:56 -08:00
Matthew Brush
906ffc6aae Fix some widget names in glade file and code so they match (oops) 2011-12-10 14:10:44 -08:00
Matthew Brush
088b0bc362 Merge branch 'master' into gtkbuilder
Conflicts:
	geany.glade
	src/Makefile.am
	src/callbacks.c
2011-12-05 20:52:00 -08:00
Matthew Brush
6099e8d3df Rename duplicate widgets in project dialog 2011-10-22 11:58:09 -07:00
Matthew Brush
caaf824f70 Fix VTE font and foreground/background colour preference callbacks
Remove `font-set` signal from Glade file since it's dependent on the VTE
being available and connect it from `vte.c`.

Add `color-set` handlers for foreground and background color preferences.
2011-10-14 20:58:13 -07:00
Matthew Brush
4bf5aef08a Make some menu items not all active. 2011-10-10 15:21:26 -07:00
Matthew Brush
92bd63bc64 Make the 'Various' tab the last tab in the main prefs notebook. 2011-10-10 15:21:14 -07:00
Matthew Brush
9ce76ef067 Make main window initially invisible.
This prevents the window from flashing up in the default location with the
default size before Geany sets it's saved size and position.
2011-10-10 15:21:09 -07:00
Matthew Brush
6b1088ea96 Port the Terminal UI to Glade 3/GtkBuilder.
Just don't show it if we don't have a VTE (ex. on Win32 or if it's disabled).
2011-10-10 13:17:35 -07:00