<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>862</bug_id>
          
          <creation_ts>2002-04-18 03:43:51 +0400</creation_ts>
          <short_desc>Merged distribution menu misreferred to Mandrake</short_desc>
          <delta_ts>2005-12-19 19:25:06 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>gnome-core</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail Zabaluev">mhz</reporter>
          <assigned_to name="AEN">aen</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>820</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Zabaluev">mhz</who>
    <bug_when>2002-04-18 03:43:51 +0400</bug_when>
    <thetext>/etc/gnome/config/panel still contains:
[Merge]
directory=/usr/share/gnome/distribution-menus/Mandrake

Such a directory is not in gnome-core anymore, since it has been renamed to ALTLinux.

This is the lesser part of the problem (gnome-core 1.4 is a mess, isn\&apos;t it?). In order for new menus to pick up after an upgrade that switches the dir from Mandrake to ALTLinux, the user has to update the symlink ~/.gnome/apps-mdk
forcefully. This necessity is due to the following dumb patch:

@@ -27,6 +30,11 @@
          \&amp;quot;gnome-debian.png\&amp;quot;, \&amp;quot;/var/lib/gnome/Debian/.\&amp;quot;,
          NULL, NULL
        },
+       { DISTRIBUTION_ALTLINUX, \&amp;quot;/etc/altlinux-release\&amp;quot;,
+         N_(\&amp;quot;ALT Linux\&amp;quot;), N_(\&amp;quot;ALT Linux menus\&amp;quot;), \&amp;quot;mdk/helix-button-yellow.png\&amp;quot;,+         \&amp;quot;apps-mdk\&amp;quot;/*GNOME_DATADIR \&amp;quot;/gnome/distribution-menus/ALTLinux/.\&amp;quot;*/,
+         mdk_menu_init_func, NULL
+       },
        { DISTRIBUTION_REDHAT, \&amp;quot;/etc/redhat-release\&amp;quot;,
          N_(\&amp;quot;Red Hat Linux\&amp;quot;), N_(\&amp;quot;Red Hat menus\&amp;quot;), NULL,
          \&amp;quot;apps-redhat\&amp;quot;,
@@ -116,5 +124,12 @@
 rh_menu_show_func (GtkWidget *menuw, GtkMenuItem *menuitem)
 {
        rh_submenu_to_display (menuw, menuitem);
+}
+
+static void
+mdk_menu_init_func (void)
+{
+  if (!get_mfiles_from_menudir(gnome_util_home_file(\&amp;quot;apps-mdk\&amp;quot;)))
+      symlink(GNOME_DATADIR \&amp;quot;/gnome/distribution-menus/ALTLinux/.\&amp;quot;,gnome_util_home_file(\&amp;quot;apps-mdk\&amp;quot;));  
 }
 

---

---

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13113</commentid>
    <comment_count>1</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2004-04-29 13:02:10 +0400</bug_when>
    <thetext>пакета нет 
 </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>