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 337957 - Should indicate read-only projects
Should indicate read-only projects
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-10 15:24 UTC by Tristan Van Berkom
Modified: 2006-06-24 04:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
readonly fix + HIG improvements (4.61 KB, patch)
2006-06-22 02:40 UTC, Vincent Geddes
none Details | Review
GtkExpander patch (2.09 KB, patch)
2006-06-23 21:00 UTC, Vincent Geddes
none Details | Review
testing program (651 bytes, application/x-gzip)
2006-06-23 21:08 UTC, Vincent Geddes
  Details
readonly fix + HIG improvements (7.11 KB, patch)
2006-06-24 02:32 UTC, Vincent Geddes
none Details | Review

Description Tristan Van Berkom 2006-04-10 15:24:29 UTC
Read only projects should be indicated as such (maybe with a '%' sign
like emacs does, or an appended '(read-only)' string in the project list.
Comment 1 Vincent Geddes 2006-06-20 19:10:25 UTC
Maybe the following would help to clarify readonly-ness.

Window Title:

  planner.glade [read-only] - Glade 3 GUI Builder


Status Bar:

  /usr/share/planner/planner.glade [read-only]


Projects List Menu:

  I think that adding a "[read-only]" string or a "%" symbol here
  would not be good. The menu is already a bit visually cluttered with "*" 
  symbols (not to mention that weird indent :))


May I go ahead and incorporate the above ?
Comment 2 Vincent Geddes 2006-06-22 01:46:31 UTC
ok, I am implementing the above, plus the other things we discussed on IRC

 * Renaming "Glade 3.0 GUI Builder" to "Glade 3 Interface Designer"

 * Shortened the main window title, and change it's format

and then in a few months we can drop the "3" from the name, after glade-2 has been deprecated
Comment 3 Vincent Geddes 2006-06-22 02:40:57 UTC
Created attachment 67822 [details] [review]
readonly fix + HIG improvements

2006-06-22  Vincent Geddes <vgeddes@metroweb.co.za>

        * src/glade-project-window.c:
          o Rename window title to "Glade 3".
          o Change format of window title text.
          o The window title and statusbar messages now inform users
            of a project's read-only status.
      
        * glade-3.desktop.in:
          o Added "X-GNOME-Bugzilla" fields.
          o Changed "Name" field to "Glade 3 Interface Designer".
          o Changed "Comment" field (more in line with HIG).
Comment 4 Tristan Van Berkom 2006-06-23 04:30:25 UTC
Nice... can we also change the name of toplevel project windows ... 
they are still called "Glade-3 GUI Builder" and it looks a little
inconsistant.
Comment 5 Vincent Geddes 2006-06-23 21:00:26 UTC
Created attachment 67907 [details] [review]
GtkExpander patch
Comment 6 Vincent Geddes 2006-06-23 21:08:45 UTC
Created attachment 67908 [details]
testing program
Comment 7 Vincent Geddes 2006-06-24 02:32:23 UTC
Created attachment 67921 [details] [review]
readonly fix + HIG improvements

The only way to get the application name is now via g_get_application_name(). Prevents inconsistent duplication of window titles.


2006-06-22  Vincent Geddes <vgeddes@metroweb.co.za>

        * src/main.c: 
          o Changed application name to "Glade 3"
          o Destroy GladeProjectWindow object before exiting.

        * src/glade-app.c:
          o Fix compiler warning (invalid pointer assignment)

        * src/glade-project-window.c:
          o Remove WINDOW_TITLE macro. The application name
            can now be retrieved by calling g_get_application_name()
          o Change format of window title text.
          o The window title and statusbar messages now inform users
            of a project's read-only status.

        * glade-3.desktop.in:
          o Changed "Name" field to "Glade 3 Interface Designer".
          o Changed "Comment" field (more in line with HIG).
          o Changed "Icon" field from "glade-3.png" to "glade-3"
          o Added "X-GNOME-Bugzilla" fields.
Comment 8 Tristan Van Berkom 2006-06-24 04:31:33 UTC
Ok, thanks, applied.