After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 331114 - Tools dialog remove button a bit to small in dutch
Tools dialog remove button a bit to small in dutch
Status: RESOLVED FIXED
Product: gedit-plugins
Classification: Other
Component: General
git master
Other All
: Normal normal
: 2.14.0
Assigned To: Steve Frécinaux
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-14 11:16 UTC by jessevdk@gmail.com
Modified: 2019-03-23 21:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Patch (13.05 KB, patch)
2006-02-22 22:40 UTC, Steve Frécinaux
none Details | Review
fix + gsv + wrap (18.39 KB, patch)
2006-02-23 01:21 UTC, Steve Frécinaux
committed Details | Review

Description jessevdk@gmail.com 2006-02-14 11:16:42 UTC
Please describe the problem:
Well, first of all I don't really know if this is a bug in the glade file or
not, but I'll report it anyway. In other languages than english the Remove label
might be somewhat bigger rendering the text over the icon because the list has a
fixed default width that is too small
(http://www.icecrew.nl/~jesse/gedit/tools.png). Maybe the default width could be
a bit larger?

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Paolo Maggi 2006-02-22 12:50:20 UTC
nud: are you on it?
Comment 2 Steve Frécinaux 2006-02-22 22:40:19 UTC
Created attachment 59960 [details] [review]
Patch

* plugins/externaltools/tools/tools.glade: fixed bug #331114 by
removing all the size requests.
Comment 3 Steve Frécinaux 2006-02-23 01:21:53 UTC
Created attachment 59966 [details] [review]
fix + gsv + wrap

As discussed on IRC, this patch solves the bug and make some small UI tweaks :
 - replace the command entry with a Sourceview (so, highlighting and ctrl+v)
 - add wrap to that entry
Comment 4 Paolo Maggi 2006-02-23 10:19:09 UTC
I am not sure using "bash" hl mode is a good idea.

We could use bash by default and change it to python/perl/whatever if the user writes "#!/usr/bin/python" or similar strings at the beginning of the script.
Comment 5 Paolo Borelli 2006-02-23 10:38:25 UTC
I agree we should do without hl for now (hey there is always 2.16 :)

Using sourceview though it's still a good idea in order to get undo/redo
Comment 6 Steve Frécinaux 2006-02-23 13:35:36 UTC
I agree with the fact we should allow other languages than shell, but for now only bash commands work (I was in doubt and tested with a #! line but it does not work) so I don't see why highlighting is bad.
Comment 7 Paolo Borelli 2006-02-23 14:43:56 UTC
OK.

Patch committed, though I dropped 

+			view.set_auto_indent(True)
+			view.set_insert_spaces_instead_of_tabs(False)
+			view.set_smart_home_end(True)
+			view.set_tabs_width(4)

better to use the default values if we don't watch GConf and gedit itself doesn't use smart_home_end.

Beside 4-spaces-long tabs are the devil ;)