6171 Commits

Author SHA1 Message Date
Colomban Wendling
b0b0ebb469 Make sure not to emit activation/change signals twice from entry action
If connect_proxy() get called twice, then the handlers would have been
connected twice, leading to wrongly emit activation/change signals twice
for a single input signal.

For whatever reason connect_proxy() is actually called twice for the
quick search entry on Windows (but not on Linux), so this fixes the
search entry behavior on Windows.
2012-02-10 18:24:10 +01:00
Colomban Wendling
01fea3e747 Remove possible '/' from display name when building socket filename
MacOS X seems to have slashes in the display name, which prevent the
socket file from being created.  So, replace such characters that may
not appear in a filename with an underscore.
2012-02-10 01:18:30 +01:00
Nick Treleaven
9426104f0b Remove utils_build_path() - use g_build_filename instead 2012-02-06 16:41:18 +00:00
Nick Treleaven
e7befb410c Remove utils_make_filename() - use g_strconcat instead 2012-02-06 16:36:51 +00:00
Nick Treleaven
402249f1b8 Revert "Don't append file truncation warning if file doesn't exist"
This reverts commit 7cc443e1420b77d041815a464fe5b20bc62412f4.

Showing the truncation message only when the file exists doesn't work
when writing to a network file and the connection drops out (thanks to
Lex).
2012-02-06 16:14:42 +00:00
Frank Lanitz
8f453d14cf Update of Traditional Chinese translation provided by Matthew Lien. 2012-02-06 11:26:50 +01:00
elextr
6e2d26b124 Merge pull request #22 from RetroX/patch-1
Added C++11 keywords to syntax highlighter.
2012-02-05 14:39:02 -08:00
Alex Charron
cc6e85f454 Added C++11 keywords to syntax highlighter. 2012-02-05 16:30:22 -05:00
Colomban Wendling
e686681385 Don't set error twice (oops) 2012-02-05 19:46:59 +01:00
Colomban Wendling
0a22e8a624 Improve error handling in build_create_shellscript() 2012-02-05 19:21:11 +01:00
Colomban Wendling
ce21bdfb21 Use g_set_error() rather than manualy creating the GError 2012-02-05 19:15:44 +01:00
Colomban Wendling
e66a3ba389 Don't use nonexistant --export-dynamic linker flag on Windows 2012-02-05 19:15:20 +01:00
Colomban Wendling
ca340a8aa3 Properly handle remote URIs received through drag 'n drop
Closes #2966770, #3479567.
2012-01-31 15:22:20 +01:00
Colomban Wendling
9876ce5a3f Remove a redundant check 2012-01-31 14:41:15 +01:00
Matthew Brush
9ff4eec853 Fix Color Schemes menu items activation when used with libdbusmenu.
I'm not even going to try to explain why this fixes it :)
2012-01-30 21:32:16 -08:00
Colomban Wendling
cc3c2684fb Fix makefile.win32 for included regex removal 2012-01-26 22:52:22 +01:00
Nick Treleaven
58164c65f0 Remove static function utils_slist_remove_next() 2012-01-26 16:10:53 +00:00
Nick Treleaven
7cc443e142 Don't append file truncation warning if file doesn't exist
This warning shown after a failed save is unnecessary when the
filename is invalid.
2012-01-26 15:42:06 +00:00
Frank Lanitz
30ec6e6e2b Fix plural setting 2012-01-26 11:42:24 +01:00
Frank Lanitz
ae00745f48 Added Indonesian translation provided by Fajar Wahyu 2012-01-26 11:36:09 +01:00
Nick Treleaven
b287553e4a Use 'SETPTR' instead of 'setptr'
This makes it clearer we're using a macro.
2012-01-25 16:26:16 +00:00
Nick Treleaven
ed66c2b293 Remove LW() macro 2012-01-25 13:46:31 +00:00
Nick Treleaven
011dd017e0 Enable default Scintilla editing menu for Split Window
This allows copying and pasting, undo etc.
2012-01-25 13:40:39 +00:00
Nick Treleaven
951b5a9da5 Rectangular selection modifiers are Alt+Shift on Windows 2012-01-25 12:46:42 +00: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
Colomban Wendling
9130b84d86 Add ui_builder_get_object()
This is used to get any object built from the UI file, not widgets only.
2012-01-20 19:14:31 +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
Jiří Techet
5cc8a96d44 Do not show document change notification dialog when MRU switch is in progress
When switching between MRU documents, Geany pops up a dialog about
document change even for the intermediate non-final documents.
This leads to both reload dialog and document switch dialog displayed
at the same time and termination of document switching because the
newly displayed dialog takes focus.

This patch disables reload checks for the intermediate documents and
forces reload check for the final document.
2012-01-12 00:33:50 +01:00
Jiří Techet
ec6798d761 Do not ignore system() return value to eliminate compiler warning 2012-01-11 23:30:10 +01:00
Jiří Techet
73f345eb09 Use standard include paths for "open selected file"
Under linux, try to locate the file with the given
name also under /usr/local/include and /usr/include.
This feature is probably most often used for
opening include files so this helps for the system
ones.

In addition, fix locale/utf8 encoding usage.
2012-01-11 22:57:31 +01:00
Jiří Techet
d4b2b89d00 Maybe != may be 2012-01-11 22:57:31 +01:00
Nick Treleaven
214367906c Regenerate manual for Project Keybindings change 2012-01-10 15:28:43 +00:00
Nick Treleaven
8a928956a4 Fix project dialog recreation (oops)
Remove memset - rely on static data to be zeroed.
2012-01-09 16:43:14 +00:00
Nick Treleaven
5288dbe5d3 Add Project New, Close keybindings 2012-01-09 16:35:29 +00:00
Nick Treleaven
1fcff6f7bf Fix unused variable warning 2012-01-09 15:58:10 +00:00
Nick Treleaven
fa3b07bcff Fix missing initializers warning on = {0} 2012-01-09 15:56:59 +00: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
31bc70d0f3 Fix one-off leak by allocating PropertyDialogElements on the stack
Also prevents following a whole code path for nothing, by only calling
create_properties_dialog() once per run.
2012-01-08 11:48:54 -08:00
Matthew Brush
6968a1a957 Make it so project properties form errors can be corrected (oops)
Was broken during last commit.
2012-01-08 11:34:27 -08: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
Nick Treleaven
3cb3826aad Fix using 'All files' instead of 'None' in Open dialogs (Windows) 2012-01-08 17:53:49 +00:00
Nick Treleaven
eb04c514ba Add API function ui_lookup_stock_label()
Using this can avoid adding i18n strings unnecessarily.
2012-01-08 17:37:58 +00:00