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 503849 - Improving statusbar widget
Improving statusbar widget
Status: RESOLVED WONTFIX
Product: gedit
Classification: Applications
Component: general
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2007-12-16 12:57 UTC by Ignacio Casal Quinteiro (nacho)
Modified: 2008-12-30 19:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
statusbar patch (4.72 KB, patch)
2007-12-16 12:59 UTC, Ignacio Casal Quinteiro (nacho)
none Details | Review
[PATCH] Statusbar rework (6.61 KB, patch)
2007-12-28 23:21 UTC, Steve Frécinaux
none Details | Review

Description Ignacio Casal Quinteiro (nacho) 2007-12-16 12:57:40 UTC
I'll attach a patch improving the statusbar because statusbars inside the statusbar it is a bit bizarre.
Comment 1 Ignacio Casal Quinteiro (nacho) 2007-12-16 12:59:08 UTC
Created attachment 101052 [details] [review]
statusbar patch

Maybe you have to fix the size of cursor label width, but i think this is a better way to do that.
Comment 2 Steve Frécinaux 2007-12-28 23:21:00 UTC
Created attachment 101768 [details] [review]
[PATCH] Statusbar rework


Same as Ignacio's patch but
 - compiles
 - no noticeable UI change
 - reverted strings since we are in string announcement period
---
 gedit/gedit-statusbar.c |  100 ++++++++++++++++++-----------------------------
 gedit/gedit-statusbar.h |    6 ---
 gedit/gedit-window.c    |    4 +-
 3 files changed, 40 insertions(+), 70 deletions(-)
Comment 3 Ignacio Casal Quinteiro (nacho) 2007-12-29 10:17:36 UTC
I think is better use gtk_label_set_width_chars func because of translator or maybe you could use something like g_strconcat("   ", _("INS")). White spaces aren't a good idea.
Comment 4 Steve Frécinaux 2008-05-03 08:38:28 UTC
The white spaces where because of the string freeze ;-)
Comment 5 Ignacio Casal Quinteiro (nacho) 2008-12-30 13:42:40 UTC
As Paolo has good reasons to keep his approach I thik we should close this bug.