Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
4a8e097d
Commit
4a8e097d
authored
Nov 20, 2009
by
Jan Djärv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gtkutil.c (xg_modify_menubar_widgets): If menubar is totally empty
add a blank entry so it doesn't collapse into nothing.
parent
653d1554
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/gtkutil.c
src/gtkutil.c
+4
-0
No files found.
src/ChangeLog
View file @
4a8e097d
2009-11-20 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (xg_modify_menubar_widgets): If menubar is totally empty
add a blank entry so it doesn't collapse into nothing.
2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
* lread.c (Funintern): Comment out last change.
...
...
src/gtkutil.c
View file @
4a8e097d
...
...
@@ -2477,6 +2477,10 @@ xg_update_menubar (menubar, f, list, iter, pos, val,
/* Item(s) have been removed. Remove all remaining items. */
xg_destroy_widgets
(
iter
);
/* Add a blank entry so the menubar doesn't collapse to nothing. */
gtk_menu_shell_insert
(
GTK_MENU_SHELL
(
menubar
),
gtk_menu_item_new_with_label
(
""
),
0
);
/* All updated. */
val
=
0
;
iter
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment