Ticket #231 (closed enhancement: fixed)

Opened 12 months ago

Last modified 11 months ago

Rearrangement of Menus

Reported by: Enr1X Owned by: daelstorm
Priority: trivial Milestone:
Component: nicotine Version: SVN (checked out today)
Keywords: Cc:

Description

I'm very surprised to see that the nicotine has a lot of options and most of them are on the "Edit" menu, next to file. I would refactor the menus this way: 1-File or Nicotine+: Preferences, Quit, Show Debug, now playing etc. 2- Server: Connnect, Disconnect, Check Privileges 3- View: hide log window, hide room list... and all the checkeable options 4- Shares: Rescan shares, buddy shares, rebuild shares, and browse shares. Maybe a quick shortcut to preferences/shares? 5- Modes (not too useful for me, but anyway): chat rooms, buddy list, interests, etc...

If i have some free time, i'll try to edit the glade file, even though i dont know anything about c++, gtk or that stuff...

Attachments

new_menubar.patch (20.5 kB) - added by Enr1x <myenr1x AT NOSPAM G M A I L Dott com> 12 months ago.
New Menubar Patch
new_menubar.2.patch (8.0 kB) - added by Enr1x <myenr1x AT NOSPAM G M A I L Dott com> 12 months ago.
New Menubar Patch, actually
new_menubar.glade.patch (44.5 kB) - added by Enr1x <myenr1x AT NOSPAM G M A I L Dott com> 12 months ago.
Glade Project Patch.
new_menubar.python.patch (22.5 kB) - added by Enr1x <myenr1x AT NOSPAM G M A I L Dott com> 12 months ago.
Python Script Patch.

Change History

Changed 12 months ago by anonymous

Use glade-3 to edit nicotine.glade

Changed 12 months ago by Enr1X

Thanks, i was using gazpacho, though, seems easier... given that i have never touched a glade file...

Changed 12 months ago by Enr1x <myenr1x AT NOSPAM G M A I L Dott com>

OK, i think, i'm done. It was very straightforward to edit the glade file and then translate into python with glade2py (lucky that it was in the gtkgui folder) now i feel that the nicotine+ gui is more logical. Could you take a look at the patch? I have tested it and works fine. I'll add it to the nicotine-plus-svn PKGBUILD on the Archlinux's AUR for anyone willing to try it.

Changed 12 months ago by Enr1x <myenr1x AT NOSPAM G M A I L Dott com>

New Menubar Patch

Changed 12 months ago by Enr1x <myenr1x AT NOSPAM G M A I L Dott com>

New Menubar Patch, actually

Changed 12 months ago by Enr1x <myenr1x AT NOSPAM G M A I L Dott com>

Ok, i'm here again. Daelstorm, there was a conflicting hotkey in the nicotine.glade project. Look for <accelerator key="B" modifiers="GDK_MOD1_MASK" signal="activate"/>, it was there twice, and so we could see the duplicate hotkey in the nicotine window. I have changed that B to an F for "Flag" and also added some hotkeys (CTRL+1-9) for the modes. You can delete the previous attachments if you want. Thanks for your attention and great program,

Enric

Changed 12 months ago by Enr1x <myenr1x AT NOSPAM G M A I L Dott com>

Glade Project Patch.

Changed 12 months ago by Enr1x <myenr1x AT NOSPAM G M A I L Dott com>

Python Script Patch.

Changed 11 months ago by daelstorm

  • status changed from new to closed
  • resolution set to fixed

Hmm.. I missed your patches. sorry. I don't check tickets often enough. I made some similar changes in r667 last week, but without a Server menu. Thanks for the idea, and all.

Thanks for the tip about Alt-B. (I used Alt-G, as Alt-F is still used)

Alt-1 thru Alt-9 already work for switch the mode tabs, btw.

Add/Change #231 (Rearrangement of Menus)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.