GGV layout XML files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone

I am making some changes to GGV. I have added a module that will allow you to search on PS files. I need some verification that the changes I have made aren't OS specific. I am attaching an XML file in which I have made some changes to the layout of GGV (adding extra menu icons and toolbar shortcuts). Please replace the XML file 'ggv-ui.xml' in the directory
/usr/share/gnome-2.0/ui
and reply back confirming whether you were able to see a menus called 'Search' and 'Add' and also toolbar icons 'Search' and 'Add Note'.
If you are unable to view any changes try replacing the file ggv-ui.xml in the following directory
/usr/local/share/gnome-2.0/ui

I am presently running FC3 and the changes were reflected only when the changes were made to the second path not in the first whereas my colleague who is running FC2 could see the changes after replacing the file in the first path.

Your urgent replies would be highly appreciated.
Nimit

<Root>

<commands>
  <cmd name="FileOpen" _label="_Open" _tip="Open a New PostScript document"
       pixtype="stock" pixname="Open" accel="*Control*o"/>
  <cmd name="FileReload" _label="_Reload" _tip="Reload current document"
       pixtype="stock" pixname="gtk-refresh" accel="*Control*r"/>  
  <cmd name="FileClose" _label="_Close" _tip="Close this window"
       pixtype="stock" pixname="Close" accel="*Control*w"/>

  <cmd name="FileSearch" _label="_Search" _tip="Search a word in PostScript document"
       pixtype="stock" pixname="Find" accel="*Control*h"/>

  <cmd name="FileAdd" _label="_Add Note" _tip="Add Notes/ Comments to a PostScript document"
       pixtype="stock" pixname="Add" accel="*Control*n"/>



  <cmd name="SettingsShowMenus" _label="Show _Menus"
       type="toggle" _tip="Show/hide the menus"/>
  <cmd name="SettingsShowSidebar" _label="Show Side_bar"
       type="toggle" _tip="Show/hide the sidebar"/>
  <cmd name="SettingsShowToolbar" _label="Show _Toolbar"
       type="toggle" _tip="Show/hide the toolbar"/>
  <cmd name="SettingsShowStatusbar" _label="Show _Statusbar"
       type="toggle" _tip="Show/hide the statusbar"/>

  <cmd name="ViewFullscreen" _label="_Fullscreen mode"
       type="toggle" _tip="Toggle fullscreen mode"/>

  <cmd name="Help" _label="_Contents" _tip="Help for this application"
       pixtype="stock" pixname="Help" accel="F1"/>
  <cmd name="HelpAbout" _label="_About" _tip="About this application"
       pixtype="stock" pixname="About"/>
	
  <cmd name="DnDNewWindow" _label="Open in new window"/>
  <cmd name="DnDThisWindow" _label="Open in this window"/>
  <cmd name="DnDCancel" _label="Cancel" pixtype="stock" pixname="Cancel"/>
</commands>

<menu>
  <submenu name="File" _label="_File">
    <menuitem name="FileOpen" verb=""/>
    <menuitem name="FileReload" verb=""/>
    

    <placeholder name="File Items Placeholder" delimit="top"/>
    <placeholder name="Recents" delimit="top"/>
    <separator/>
    <menuitem name="FileClose" verb=""/>
  </submenu>


  <placeholder name="Edit" _label="_Edit">
    <placeholder name="Edit Items Placeholder"/>
  </placeholder>

  <submenu name="View" _label="_View">
    <placeholder name="View Items Placeholder" delimit="bottom"/>
    <separator/>
    <menuitem name="ViewFullscreen" verb=""/>
    <placeholder name="Zoom Items Placeholder" delimit="top"/>
    <separator/>
    <submenu name="ViewLayout" _label="_Layout">
      <menuitem name="SettingsShowMenus" verb=""/>
      <menuitem name="SettingsShowSidebar" verb=""/>
      <menuitem name="SettingsShowToolbar" verb=""/>
      <menuitem name="SettingsShowStatusbar" verb=""/>
    </submenu>
  </submenu>
  
 
  <placeholder name="Go">
    <placeholder name="Viewer Items Placeholder"/>
  </placeholder>
  <submenu name="Help" _label="_Help">
    <menuitem name="Help" verb=""/>
    <menuitem name="HelpAbout" verb=""/>
  </submenu>

  <submenu name="Search" _label="_Search">	
    <menuitem name="FileSearch" verb=""/>
  </submenu>


  <submenu name="Add" _label="_Add">
    <menuitem name="FileAdd" verb=""/>
  </submenu>

</menu>

<dockitem name="Toolbar" relief="none" homogeneous="1" behavior="exclusive">
  <toolitem name="TBOpen" _label="Open" pixtype="stock"
            pixname="Open" verb="FileOpen" priority="1"/>
  <control name="TBOpenMenu" verb=""/>
  <toolitem name="TBReload" _label="Reload" pixtype="stock"
            pixname="gtk-refresh" verb="FileReload" priority="1"/>
  <separator/>
  <toolitem name="TBSearch" _label="Search" pixtype="stock"
            pixname="gtk-find" verb="FileSearch" priority="1"/>
  <separator/>
  <toolitem name="TBAdd" _label="Add Note" pixtype="stock"
            pixname="gtk-add" verb="FileAdd" priority="1"/>
</dockitem>

<popups>
  <popup name="DnD">
    <menuitem name="DnDNewWindow" verb=""/>
    <menuitem name="DnDThisWindow" verb=""/>
    <separator/>
    <menuitem name="DnDCancel" verb=""/>
  </popup>
  <popup name="button3">
    <placeholder name="NavigationMenu"/>
    <separator/>
    <menuitem name="ViewFullscreen" verb=""/>
    <placeholder name="ZoomMenu" delimit="top"/>
    <separator/>
    <submenu name="ViewLayout" _label="_Layout">
      <menuitem name="SettingsShowMenus" verb=""/>
      <menuitem name="SettingsShowSidebar" verb=""/>
      <menuitem name="SettingsShowToolbar" verb=""/>
      <menuitem name="SettingsShowStatusbar" verb=""/>
    </submenu>
  </popup>
</popups>

</Root>

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux