Colomban Wendling
4d16735380
Don't access GtkDialog fields directly
2012-09-13 16:34:18 +02:00
Colomban Wendling
d80bc7ce56
Update FSF address
...
Closes #3557875 .
2012-08-24 19:25:57 +02:00
Colomban Wendling
4c2d8998d7
Fix a reference to a function in the documentation
2012-08-07 15:37:38 +02:00
Colomban Wendling
1c2c455b1d
Update copyright information
2012-06-18 01:15:04 +02:00
Matthew Brush
9d7ff79a9a
Restore secondary clear icon functionality in Preferences dialog
...
Ensures all entries that get a clear icon added to the secondary position
also set the secondary icon to be activatable. This was probably
introducted during the Glade switch and could be fixed in the Glade file
but this fix ensures that even hard coded entries will always have their
clear icon activatable.
2012-06-04 14:18:49 -07:00
Frank Lanitz
58a03352b6
Enable two strings for translation. Patch by gymka
2012-06-03 17:48:30 +02:00
Colomban Wendling
1d6efd332e
Remove an useless NULL check and error message
...
gtk_builder_new() cannot fail but in case of memory exhaustion, where
the GLib allocator will abort anyway.
2012-06-03 16:56:31 +02:00
Nick Treleaven
24359942bf
Show selected line count on status bar when whole lines are selected
2012-04-22 17:32:53 +01:00
Nick Treleaven
fa7959f316
Maintain sidebar width when sidebar is on the right
...
Resizing the window should not affect sidebar width.
Fixes #3514436 .
2012-04-03 16:15:02 +01:00
Frank Lanitz
4b1a3b39d4
Small changes on function documentation of ui_lookup_stock_label() as doxygen complained a bit
2012-02-19 10:30:31 +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
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
1fcff6f7bf
Fix unused variable warning
2012-01-09 15:58:10 +00: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
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
Colomban Wendling
9e7301cdef
Fix initial back and forward items sensitivity
...
These actions were marked as document sensitive but their sensitivity
is already managed by the navqueue, so making them document sensitive
only leads to them being wrongly updated when the document count
changes from or to 0.
So, make them initially insensitive and let the navqueue correctly
handle their later sensitiveness.
2011-12-18 00:32:22 +01:00
Matthew Brush
b60413ed60
Clean up some compiler warnings (oops)
2011-12-10 16:14:11 -08:00
Matthew Brush
7d6731279f
Show error dialog if the Glade file could not be loaded
...
Also remove old comment that doesn't apply anymore.
2011-12-10 15:44:37 -08:00
Matthew Brush
467363adb9
Set translation domain for the GtkBuilder
2011-12-10 14:39:07 -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
0a16ec7520
Merge branch 'master' into gtkbuilder
...
Conflicts:
src/interface.c
src/vte.c
2011-11-06 23:44:24 -08:00
Colomban Wendling
b55a30c2bf
Build recent data for GTK ourselves
...
This prevents GTK of trying to fetch the necessary information like
MIME-type itself, which leads to a significant speedup (> 30%), as
well as using the real MIME-type we use rather than the GIO-guessed
one.
2011-11-04 00:11:21 +01:00
Colomban Wendling
0167f589b3
Small code cleanup
...
Use foreach_document() in a few places where appropriate and make
some code more consistent.
2011-11-03 19:22:40 +01:00
Colomban Wendling
274e01f555
Fix various coding style issues
2011-10-30 22:55:25 +01:00
Colomban Wendling
36ebb1f2b7
Use canonical macros for stock items rather than plain strings
...
This makes the code more readable, potentially more future-proof (if
the actual string changes) and better style (catches possible typos at
build-time).
2011-10-30 22:01:49 +01:00
Matthew Brush
a23e999b7b
Bump GTK+ version to 2.16
2011-10-28 10:25:58 -07:00
Matthew Brush
72e856947e
Rework GtkBuilder code to behave more like old Glade 2 code
...
* Put back ui_hookup_widget and ui_lookup_widget functions
* Put back lookup_widget code in stash.c
* Emulate old create_*() functions from interface.[ch].
* Hookup all the GtkBuilder widget's to their top widgets like Glade 2
generated code would've done.
* Misc changes to accomodate the above.
2011-10-19 00:44:35 -07:00
Colomban Wendling
a3e5044d4f
Plug a few memory leaks
...
These leaks actually were not "real" leaks since the memory will anyway
be kept until quit. Fixing those only makes the code "cleaner" and
will prevent them to "hide" some other (real) ones at debug times.
2011-10-19 03:19:30 +02:00
Matthew Brush
c7c9eec6d0
Fix minor style and visibility issue
2011-10-14 20:12:06 -07:00
Nick Treleaven
feb917d5e1
Fix uninitalized 'name' access.
2011-10-14 13:28:14 +01:00
Nick Treleaven
4c633741c8
Use app->datadir instead of GEANY_DATADIR
...
The latter doesn't work on Windows.
2011-10-14 13:23:45 +01:00
Nick Treleaven
eb6f740aff
Fix uninitialized access error
2011-10-14 13:00:01 +01:00
Matthew Brush
182bdc3b17
Replace GTK_BIN(...)->child with gtk_bin_get_child(...)
2011-10-11 21:30:28 -07:00
Matthew Brush
6086749e51
Cleanup comments in ui_utils.c/h.
2011-10-10 15:20:55 -07:00
Matthew Brush
af093c2ddf
Remove interface.c/h files and put code into ui_utils.c/h.
2011-10-10 15:20:15 -07:00
Matthew Brush
fb4f21613b
Document that the widget param for ui_lookup_widget() is no longer.
...
Cast it to void to avoid warnings and tell other programmers.
2011-10-10 13:56:43 -07:00
Matthew Brush
cfedadae27
Remove lingering Glade 2 create_*() functions.
...
Add interface.h includes in prefs.c, project.c, stash.c and ui_utils.c.
2011-10-10 13:56:37 -07:00
Matthew Brush
7c9430884f
Cleanup code, comments and refactor a bit.
2011-10-10 13:17:55 -07:00
Matthew Brush
c39ad3e29d
Update ui_lookup_widget() and ui_hookup_widget() to use new interface.c/h code.
2011-10-10 13:15:23 -07:00
Colomban Wendling
d06e9f4575
Remove $Id$ and $Date$ SVN keywords
2011-10-09 22:57:35 +02:00
Nick Treleaven
1afb825ec8
Add configuration_add_various_pref_group().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5944 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-22 11:52:58 +00:00
Colomban Wendling
8b92d08908
Fix document sensitivity of a few menu items
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5925 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-16 21:44:11 +00:00
Colomban Wendling
64d632ba29
Fix check for enabling MIME type based icons
...
gtk_icon_theme_lookup_by_gicon() requires GTK >= 2.14, and since
GTK 2.14 requires the GIcon API, drop the GLib check.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5907 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-02 21:45:02 +00:00
Colomban Wendling
24583dc507
Focus the editor upon double click on the message and compiler windows
...
Also improve the code a bit by using a boolean to know whether to focus
the editor rather than always pass the key value and check it against
enter-or-return in the callee side.
Patch by Dimitar Zhekov, thanks!
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5887 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-13 20:44:39 +00:00
Colomban Wendling
ddb4ad5fa5
Fix some whitespace style errors
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5886 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-06 18:34:14 +00:00
Colomban Wendling
44e5687e0b
Allow editing of formerly hidden preferences in the preferences dialog
...
Patch by Dimitar Zhekov, thanks! (closes P#3313315)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5871 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-07-28 17:59:22 +00:00
Colomban Wendling
9fa8cd8bf9
Fix a few GCC warnings
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5856 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-17 22:52:43 +00:00
Colomban Wendling
e9e3f6a8ab
Remove most of the checks for GIO
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5852 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-17 22:51:17 +00:00
Colomban Wendling
5d606ce351
Deprecate ui_widget_set_tooltip_text() in favor of gtk_widget_set_tooltip_text()
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5840 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 18:41:50 +00:00
Enrico Tröger
5141f14007
Add ui_focus_current_document() and document_grab_focus().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5828 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-02 21:15:37 +00:00